diff options
| author | jdhao <jdhao@hotmail.com> | 2022-01-23 16:47:52 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2022-01-23 16:47:52 +0800 |
| commit | 91b4d855921d7fc2f2cbd800f183fde8902b1d39 (patch) | |
| tree | 8b358d26738885e15bca73448f247543812f2b11 /lua/plugins.lua | |
| parent | a19a91397f81374a002878460d752114a6e83b42 (diff) | |
change load condition of lspkind-nvim
If we use BufEnter, nvim-cmp autocompletion may not work sometimes,
which is really annoying
Diffstat (limited to 'lua/plugins.lua')
| -rw-r--r-- | lua/plugins.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/plugins.lua b/lua/plugins.lua index f9f57c2..686d818 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -31,7 +31,7 @@ require("packer").startup({ use({"wbthomason/packer.nvim", opt = true}) - use {"onsails/lspkind-nvim", event = "BufEnter"} + use({"onsails/lspkind-nvim", event = "VimEnter"}) -- auto-completion engine use {"hrsh7th/nvim-cmp", after = "lspkind-nvim", config = [[require('config.nvim-cmp')]]} |
