From e75a0b31d89d29424097e4a1a2bc339e78e6cffe Mon Sep 17 00:00:00 2001 From: jdhao Date: Sun, 4 Jul 2021 04:23:16 +0800 Subject: [PATCH] update packer plugin settings --- lua/plugins.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/plugins.lua b/lua/plugins.lua index d79076b..9cc8780 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -111,7 +111,7 @@ require('packer').startup( use {'honza/vim-snippets', event = {'InsertEnter'}} -- Automatic insertion and deletion of a pair of characters - use {'jiangmiao/auto-pairs', event = {'InsertEnter'}} + use {'jiangmiao/auto-pairs', event = {'BufReadPost'}} -- Comment plugin use 'tpope/vim-commentary'