diff options
Diffstat (limited to 'lua/plugins.lua')
-rw-r--r-- | lua/plugins.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lua/plugins.lua b/lua/plugins.lua index 9f49e69d..724a7715 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -104,8 +104,7 @@ return require("packer").startup(function(use) -- Comments use { "terrortylor/nvim-comment", - event = "BufRead", - -- cmd = "CommentToggle", + event = "BufWinEnter", config = function() local status_ok, nvim_comment = pcall(require, "nvim_comment") if not status_ok then |