diff options
author | sefidel <contact@sefidel.net> | 2023-06-04 17:13:31 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-06-04 17:13:31 +0900 |
commit | d41ad2f9781169c21a25fae33c8fb4c855d83fd5 (patch) | |
tree | ca8898916186460264cac5c2b5925e8441af4895 /fnl | |
parent | c5f3de4a7ba7ff01fb6ad9470821790bd1bc2057 (diff) | |
download | nvimrc-d41ad2f9781169c21a25fae33c8fb4c855d83fd5.tar.gz nvimrc-d41ad2f9781169c21a25fae33c8fb4c855d83fd5.zip |
fix(pack): load nvim-cmp on BufEnter
* this fixes minor annoyance where you have to enter insert mode multiple times for the cmp to pop up
Diffstat (limited to 'fnl')
-rw-r--r-- | fnl/nvrc/pack.fnl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fnl/nvrc/pack.fnl b/fnl/nvrc/pack.fnl index fea2a8e..079e7e3 100644 --- a/fnl/nvrc/pack.fnl +++ b/fnl/nvrc/pack.fnl @@ -27,7 +27,7 @@ (pack! :tpope/vim-eunuch) (pack! :tpope/vim-sleuth) -(pack! :hrsh7th/nvim-cmp {:req :cmp :event :InsertEnter +(pack! :hrsh7th/nvim-cmp {:req :cmp :event :BufEnter :requires [(pack :L3MON4D3/LuaSnip {:module :luasnip}) (pack :lukas-reineke/cmp-under-comparator {:module :cmp-under-comparator})]}) (pack! :numToStr/Comment.nvim {:module :Comment :init :Comment}) |