summaryrefslogtreecommitdiff
path: root/lua/plugins.lua
diff options
context:
space:
mode:
authorchristianchiarulli <[email protected]>2021-07-07 22:03:40 -0400
committerchristianchiarulli <[email protected]>2021-07-07 22:03:40 -0400
commit83a77ac5cb9fc5580b65c914c368882408bbc13a (patch)
tree9868b4db08d631fa66474163fd622b6efb648857 /lua/plugins.lua
parent4e9e033798e9019c23eabf120f3d6b3311d7877f (diff)
new comment lazyload event
Diffstat (limited to 'lua/plugins.lua')
-rw-r--r--lua/plugins.lua3
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