about summary refs log tree commit diff
path: root/fnl/nvrc
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-10-02 00:46:49 +0900
committersefidel <contact@sefidel.net>2023-10-02 00:46:49 +0900
commit6e9d0c8704b17bb246087e427681fadc71837404 (patch)
tree59b31739879cc1245c8339f8688586f17cb448fb /fnl/nvrc
parent4ea6485d8331c98dddc7eca02be4b55b3fbb5742 (diff)
downloadnvimrc-6e9d0c8704b17bb246087e427681fadc71837404.tar.gz
nvimrc-6e9d0c8704b17bb246087e427681fadc71837404.zip
fix(packs/autopairs): fix autopairs not being loaded
This commit fixes autopairs being stuck unloaded because of the lazy
flag being set, by replacing it with `InsertEnter` event hook.
Diffstat (limited to 'fnl/nvrc')
-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 0cf5abc..9efabbd 100644
--- a/fnl/nvrc/pack.fnl
+++ b/fnl/nvrc/pack.fnl
@@ -43,6 +43,6 @@
 (pack! :numToStr/Comment.nvim {:init :Comment :lazy true})
 (pack! :ibhagwan/fzf-lua {:req :fzf :lazy true})
 (pack! :ggandor/leap.nvim {:req :leap :lazy true})
-(pack! :windwp/nvim-autopairs {:req :autopairs :lazy true})
+(pack! :windwp/nvim-autopairs {:req :autopairs :event :InsertEnter})
 
 (unpack!)