vim.lsp.buf.formatting function is deprecated and now replaces all the
below three functions with vim.lsp.buf.format.
- vim.lsp.buf.formatting
- vim.lsp.buf.formatting_sync
- vim.lsp.buf.formatting_seq_sync
client.resolved_capabilities is no longer used. One must now access
client.server_capabilities which matches the same structure as the
protocol.
https://microsoft.github.io/language-server-protocol/specification
See neovim commit c618b31.
With commit 7e41cd7 entering in dirvish does not work if bufhidden is
not hide or empty. Set it to hide and using BS which is mapped to C-^
in our key mappings, we can go back to the previous buffer.
We specify an underline cursor shape in terminal settings. This actually
fixes 5c6eebf where we just copied the settings from the referenced
issue but did not actually fix it.
The epoch time under cursor may be in milliseconds or seconds. Use
visual selection to select epoch since we won't know which. Else when
the epoch was in milliseconds we would just get wrong results.
We use kitty color scheme the same way we use for foot. Disable history
and scrollback since we now use tmux everywhere. opacity option has been
moved to window.
While starting the tmux sessions from fish worked some environment
variables were not getting picked up in tmux session.
For example DISPLAY is set after we log in and the graphical sway
session starts but since tmux sessions were started before that it
would be absent from the tmux session. We may be wrong about the
exact order and reasoning for this but atleast that is the observed
behaviour.
Fix this by defining a sway session target and making the tmux session
service dependent on it.
It is really annoying when a fresh install decides the locale should
be en_IN which is nonsense and annoying because it breaks rendering
of other symbols. Setting LANG seems not enough and some of the others
still default to en_IN. So explicitly set everything to en_US.UTF-8.