Sanchayan Maity
f04308f569
nvim: plugins: Make packer not fetch/pull tags
...
Upstream repos overwrite tags like release and then PackerSync complains
about failing to update since existing tags would be clobbered after an
update.
2022-09-16 20:39:17 +05:30
Sanchayan Maity
b398542a94
nvim: lsp: Minor clean up of autocmd callbacks
2022-09-13 18:16:08 +05:30
Sanchayan Maity
108403ca3d
nvim: lsp: Drop custom range formatting function
...
With commit 11167ab, vim.lsp.buf.format now has a range argument
which defaults to current selection in visual mode.
2022-09-13 18:16:08 +05:30
Sanchayan Maity
7bae888f7d
nvim: plugins: Drop suda
...
sudoedit is appropriate for our needs.
2022-09-01 09:31:52 +05:30
Sanchayan Maity
9a26ef9c10
nvim: Drop nvim-lspconfig
...
Use the new vim.lsp.start API and LspAttach/Detach auto commands.
Drop nvim-lspconfig in the process.
LSP server specific configuration has been taken from nvim-lspconfig.
2022-08-31 12:21:28 +05:30
Sanchayan Maity
8e8f6110e5
nvim: lsp: Fix argument ordering to on_attach for inlay hint
2022-08-29 17:35:47 +05:30
Sanchayan Maity
490fe4e853
nvim: plugins: Drop rust-tools & use lsp-inlayhints
...
We do not use any of the other features provided by rust-tools and
only ever needed the inlay hints. Now that there is a plugin for
that which also allows us to use inlay hints for other languages
use that.
There are two options
https://github.com/lvimuser/lsp-inlayhints.nvim
https://github.com/simrat39/inlay-hints.nvim
The second one is from the rust-tools author himself but we could
not get that to work.
2022-08-19 16:59:19 +05:30
Sanchayan Maity
1cf5377ae5
nvim: lsp: Remove obsolete flag for clangd
2022-08-06 11:41:09 +05:30
Sanchayan Maity
01dfb0429c
nvim: lsp: range_code_action is deprecated
...
See PR
https://github.com/neovim/neovim/pull/19551
2022-08-03 14:24:58 +05:30
Sanchayan Maity
19e651780e
keymappings: Fix command line mode mappings
...
See https://github.com/neovim/neovim/issues/14090#issuecomment-1202280881 .
2022-08-03 13:12:41 +05:30
Sanchayan Maity
4e60a3f53e
nvim: plugins: Drop vimtex
...
For any future LaTeX writing needs we only intend to use
markdown/pandoc.
2022-07-27 12:21:48 +05:30
Sanchayan Maity
d4edc15bd2
nvim: keymappings: Disable macro recording
2022-07-11 19:28:00 +05:30
Sanchayan Maity
6be67782e6
nvim: treesitter: Add golang
2022-06-05 15:03:49 +05:30
Sanchayan Maity
21944d6bca
nvim: plugins: Update the marks repo location
2022-05-14 08:36:56 +05:30
Sanchayan Maity
285d1fb9a9
nvim: plugins: Drop vim-visual-star-search
...
Commit 233c41c in neovim upstream enabled search selection by * and #
in visual mode by default. We do not need this plugin anymore.
2022-05-13 09:11:02 +05:30
Sanchayan Maity
918df63073
nvim: Fix group argument to nvim_create_autocmd
2022-05-06 12:04:35 +05:30
Sanchayan Maity
463e9f5811
nvim: plugins: Drop dhall
...
We do not use this and haven't had anything to do with dhall in about
one and half year.
2022-05-06 11:36:17 +05:30
Sanchayan Maity
363ba685aa
nvim: lsp/ftplugin/rust: Remove crate graph
2022-05-06 11:25:09 +05:30
Sanchayan Maity
ef00957fae
nvim: lsp: Refactor configuration setting for clients
2022-05-05 21:00:25 +05:30
Sanchayan Maity
223ffe7505
nvim: lsp: Enable additionalTextEdits for completion item
2022-05-05 20:59:32 +05:30
Sanchayan Maity
211cd39138
nvim: plugins/lsp: Drop nvim-lsp-ts-utils
...
The plugin is in maintenance mode and typescript.nvim does not support
inlay hints. We already use eslint language server and extra commands
provided by lsp-ts-utils/typescript.nvim is something we have never
used. Just drop it.
2022-05-02 10:34:44 +05:30
Sanchayan Maity
59b1696ffa
nvim: lsp: Refactor setting up of autocmd for code lens & document highlight
2022-05-02 09:33:38 +05:30
Sanchayan Maity
fdc17306b7
nvim: lsp: Refactor setting up of key mappings
2022-05-02 09:33:38 +05:30
Sanchayan Maity
59c9556325
nvim: lsp: Sync with upstream
...
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.
2022-05-01 19:50:07 +05:30
Sanchayan Maity
081f31aada
nvim: plugins: Drop toggleterm
...
Now that we use tmux all the time this is not so useful.
2022-04-25 20:20:30 +05:30
Sanchayan Maity
3e9ed93517
nvim: yolokai: Sync with upstream
...
Sync with upstream to use the new nvim_set_hl API. The white color was
actually wrong, so fix it.
2022-04-21 20:32:40 +05:30
Sanchayan Maity
686fec51d6
nvim: Use the new API for setting keymap
2022-04-16 14:27:22 +05:30
Sanchayan Maity
ef1ed4b7d1
nvim: autocmd: On exit set cursor shape to horizontal & not vertical
...
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.
2022-04-15 14:05:14 +05:30
Sanchayan Maity
93110c3445
nvim: keymappings: Add mapping to resize splits
2022-04-12 20:06:51 +05:30
Sanchayan Maity
75ff0341f6
nvim: plugins: Add vim-dirvish-dovish
2022-04-05 17:41:49 +05:30
Sanchayan Maity
9fb93edb72
Revert "nvim: plugins: Add patchreview"
...
This reverts commit 0928a6e37e
.
2022-04-03 08:54:34 +05:30
Sanchayan Maity
701bd244be
Allow seamless navigation between vim and tmux splits
2022-03-27 16:12:08 +05:30
Sanchayan Maity
758e624b07
nvim: autocmd: Do not run AnsiEsc on loading of log files
2022-03-27 16:12:08 +05:30
Sanchayan Maity
7ad8a95d21
Revert "nvim: plugins: Switch to fzf-lua"
...
This reverts commit 447d4e50b5
.
Switch back to fzf.vim as it supports tmux popups.
2022-03-24 09:16:50 +05:30
Sanchayan Maity
5c6eebf9b5
nvim: autocmd: Fix cursor shape on exiting nvim
...
This is required when using foot.
See related issue
https://codeberg.org/dnkl/foot/issues/797
https://codeberg.org/dnkl/foot/issues/798
2022-03-11 10:32:00 +05:30
Sanchayan Maity
39f9628197
nvim: autocmd: Refactor the way we call auto command API
2022-03-06 17:48:50 +05:30
Sanchayan Maity
28049ed540
nvim: lsp: Use the new auto command API
2022-03-06 14:46:27 +05:30
Sanchayan Maity
16d3b05a8f
nvim: plugins: Drop nvim-gps
2022-03-02 10:46:45 +05:30
Sanchayan Maity
ca7172b14a
nvim: autocmd: Use the new auto command API
2022-03-02 09:06:17 +05:30
Sanchayan Maity
795fd7f36a
nvim: treesitter: Enable HTML
2022-02-17 15:08:04 +05:30
Sanchayan Maity
447d4e50b5
nvim: plugins: Switch to fzf-lua
2022-02-10 21:31:57 +05:30
Sanchayan Maity
66af0bbd9e
nvim: after/plugin/statusline: Use nvim-gps for statusline
2022-02-09 18:14:12 +05:30
Sanchayan Maity
1484315caa
nvim: plugins: Add textobj-comment
2022-02-08 15:47:57 +05:30
Sanchayan Maity
73ceafcda2
nvim: keymappings: Make Esc cancel highlight search as well
2022-02-08 15:47:57 +05:30
Sanchayan Maity
2c9b7bfeb1
Revert "nvim: treesitter: Remove verilog support"
...
This reverts commit c2fabd0259
.
2022-01-27 19:06:59 +05:30
Sanchayan Maity
93c92ad067
nvim: plugins: Drop vim-workspace and use auto-session
2022-01-25 10:17:33 +05:30
Sanchayan Maity
73dd1939bd
nvim: after/plugin/statusline: Write our own status line plugin
...
Drop lualine and use our own simple status line. We do not need any
of the fancy stuff, so this works just fine.
2022-01-24 16:15:52 +05:30
Sanchayan Maity
22ef882154
nvim: lsp: Enable ESLint
2022-01-21 11:28:45 +05:30
Sanchayan Maity
6e86a6a777
nvim: plugins: Drop Coqtail
...
We are not gonna be pursuing studying Coq for quite a long while and
dropping this should allow us to drop Python provider, so drop this.
2022-01-19 10:29:48 +05:30
Sanchayan Maity
5f26c276ef
nvim: plugins: Drop vim-coq-plugin
...
coqtail can provide syntax highlighting. Not sure why we ever
added vim-coq-plugin.
2022-01-15 16:26:14 +05:30