about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-02-26 21:26:22 +0900
committersefidel <contact@sefidel.net>2022-02-26 21:26:22 +0900
commit7b0fe9c4eadd0f8333591c97bb8ba607e1fa33d7 (patch)
tree4b9f220327a6588c80d83a83a32db3ecff06721c
parent55654639c933860d9bbb5f442c2c834be2828181 (diff)
downloadnvimrc-7b0fe9c4eadd0f8333591c97bb8ba607e1fa33d7.tar.gz
nvimrc-7b0fe9c4eadd0f8333591c97bb8ba607e1fa33d7.zip
feat(pack): load cmp on InsertEnter
* fixes cmp only popping up after re-entering insert mode
-rw-r--r--fnl/nvrc/pack.fnl2
1 files changed, 1 insertions, 1 deletions
diff --git a/fnl/nvrc/pack.fnl b/fnl/nvrc/pack.fnl
index 73a038f..282eaaf 100644
--- a/fnl/nvrc/pack.fnl
+++ b/fnl/nvrc/pack.fnl
@@ -24,7 +24,7 @@
 (pack! :lewis6991/spaceless.nvim {:init :spaceless :defer :spaceless.nvim})
 (pack! :stefandtw/quickfix-reflector.vim {:ft :qf})
 
-(pack! :hrsh7th/nvim-cmp {:req :cmp :event :InsertCharPre})
+(pack! :hrsh7th/nvim-cmp {:req :cmp :event :InsertEnter})
 (pack! :numToStr/Comment.nvim {:module :Comment :init :Comment})
 (pack! :ibhagwan/fzf-lua {:req :fzf :module :fzf-lua})
 (pack! :ggandor/lightspeed.nvim)