aboutsummaryrefslogtreecommitdiff
path: root/lua/plugins.lua
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2021-07-05 23:16:38 +0800
committerjdhao <jdhao@hotmail.com>2021-07-05 23:16:38 +0800
commit02987f401d0abeb5156332f2a5466bfc0f567f93 (patch)
tree72db418e6d7146fd55606baa81e10e69241bfbed /lua/plugins.lua
parentf47d8dc55e5a7b57f0406079c50b2db7607b60b9 (diff)
Change auto-pairs activation event
It seems that BufReadPost does not work sometimes.
Diffstat (limited to 'lua/plugins.lua')
-rw-r--r--lua/plugins.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/plugins.lua b/lua/plugins.lua
index be6a626..5360bee 100644
--- a/lua/plugins.lua
+++ b/lua/plugins.lua
@@ -112,7 +112,7 @@ require('packer').startup(
use {'honza/vim-snippets', event = {'InsertEnter'}}
-- Automatic insertion and deletion of a pair of characters
- use {'jiangmiao/auto-pairs', event = {'BufReadPost'}}
+ use {'jiangmiao/auto-pairs', event = {'VimEnter'}}
-- Comment plugin
use 'tpope/vim-commentary'