diff options
| author | jdhao <jdhao@hotmail.com> | 2021-07-05 23:16:38 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2021-07-05 23:16:38 +0800 |
| commit | 02987f401d0abeb5156332f2a5466bfc0f567f93 (patch) | |
| tree | 72db418e6d7146fd55606baa81e10e69241bfbed /lua/plugins.lua | |
| parent | f47d8dc55e5a7b57f0406079c50b2db7607b60b9 (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.lua | 2 |
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' |
