diff options
| author | jdhao <jdhao@hotmail.com> | 2023-09-01 20:50:53 +0200 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2023-09-01 20:52:46 +0200 |
| commit | 63ff776758996733e747ff4ffa5c1c3f05cebc8a (patch) | |
| tree | f2ceca3c6952acbea42a33d1615404cc4195b03a /lua/plugins.lua | |
| parent | 41c8c81f217a3cf724ac173bb43842335a8dd215 (diff) | |
fix loading order of nvim-cmp and nvim-lsp
Diffstat (limited to 'lua/plugins.lua')
| -rw-r--r-- | lua/plugins.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/plugins.lua b/lua/plugins.lua index 3cd2004..cd8667c 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -23,7 +23,7 @@ require("lazy").setup { -- auto-completion engine { "hrsh7th/nvim-cmp", - event = 'VeryLazy', + event = 'InsertEnter', dependencies = { "hrsh7th/cmp-nvim-lsp", "onsails/lspkind-nvim", @@ -40,7 +40,7 @@ require("lazy").setup { { "neovim/nvim-lspconfig", - event = 'VeryLazy', + event = { 'BufRead', 'BufNewFile' }, config = function() require("config.lsp") end, |
