about summary refs log tree commit diff
path: root/fnl/nvrc
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-02-16 20:16:12 +0900
committersefidel <contact@sefidel.net>2022-02-16 20:16:12 +0900
commit562a1666f88f867b0acf8d25fc4e865517256ca9 (patch)
treea424435af401764df6873f58f6d4fdc2906ceebf /fnl/nvrc
parent2fb74089d3515077395299bce9df32e9e989a8ac (diff)
downloadnvimrc-562a1666f88f867b0acf8d25fc4e865517256ca9.tar.gz
nvimrc-562a1666f88f867b0acf8d25fc4e865517256ca9.zip
feat(pack): load cmp on InsertEnter
Diffstat (limited to 'fnl/nvrc')
-rw-r--r--fnl/nvrc/pack.fnl4
1 files changed, 2 insertions, 2 deletions
diff --git a/fnl/nvrc/pack.fnl b/fnl/nvrc/pack.fnl
index 71901ac..f651397 100644
--- a/fnl/nvrc/pack.fnl
+++ b/fnl/nvrc/pack.fnl
@@ -22,8 +22,8 @@
 
 (pack! :neovim/nvim-lspconfig {:req :lspconfig})
 (pack! :ray-x/lsp_signature.nvim {:req :lsp_signature})
-(pack! :hrsh7th/nvim-cmp {:req :cmp})
-(pack! :hrsh7th/cmp-nvim-lsp)
+(pack! :hrsh7th/nvim-cmp {:req :cmp :event :InsertEnter})
+(pack! :hrsh7th/cmp-nvim-lsp {:after :nvim-cmp})
 
 (pack! :luukvbaal/stabilize.nvim {:init :stabilize})
 (pack! :antoinemadec/FixCursorHold.nvim)