diff options
| author | Kyren223 <ulmliad223@gmail.com> | 2024-07-23 12:09:39 +0300 |
|---|---|---|
| committer | Kyren223 <ulmliad223@gmail.com> | 2024-07-23 12:09:39 +0300 |
| commit | b27591d41497b4e2d8b8d50850b4244cffae64b6 (patch) | |
| tree | 1c1fa61eab23512abce0868c0de405b051153048 /.config/nvim/lua | |
| parent | 117b33cb516b416fd7eeec8137d4e980760bd579 (diff) | |
feat(neovim): trying some more performance improvements
Diffstat (limited to '.config/nvim/lua')
| -rw-r--r-- | .config/nvim/lua/custom/plugins/lsp-plugins.lua | 2 | ||||
| -rw-r--r-- | .config/nvim/lua/custom/plugins/lsp.lua | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/.config/nvim/lua/custom/plugins/lsp-plugins.lua b/.config/nvim/lua/custom/plugins/lsp-plugins.lua index 5a6f275..dfde0d5 100644 --- a/.config/nvim/lua/custom/plugins/lsp-plugins.lua +++ b/.config/nvim/lua/custom/plugins/lsp-plugins.lua @@ -24,7 +24,7 @@ return { -- FIXME: fork the repo and fix the following issues -- Make both insert and normal be toggelable rather than insert always showing and normal toggleable 'ray-x/lsp_signature.nvim', - event = 'VeryLazy', + event = 'LspAttach', opts = { bind = true, -- This is mandatory, otherwise border config won't get registered. handler_opts = { border = 'single' }, diff --git a/.config/nvim/lua/custom/plugins/lsp.lua b/.config/nvim/lua/custom/plugins/lsp.lua index f6b8b28..6e33331 100644 --- a/.config/nvim/lua/custom/plugins/lsp.lua +++ b/.config/nvim/lua/custom/plugins/lsp.lua @@ -2,7 +2,8 @@ return { -- NOTE: Make sure the order is as follows: -- Mason loads -> Mason lspconfig loads -> Lspconfig loads 'neovim/nvim-lspconfig', - event = { 'BufReadPre', 'BufNewFile' }, + -- event = { 'BufReadPre', 'BufNewFile' }, + event = "VeryLazy", dependencies = { 'hrsh7th/cmp-nvim-lsp', { 'antosha417/nvim-lsp-file-operations', conifg = true }, |
