From 6e9d0c8704b17bb246087e427681fadc71837404 Mon Sep 17 00:00:00 2001 From: sefidel Date: Mon, 2 Oct 2023 00:46:49 +0900 Subject: 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. --- fnl/nvrc/pack.fnl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fnl') 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!) -- cgit 1.4.1