summaryrefslogtreecommitdiff
path: root/lua/plugins.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/plugins.lua')
-rw-r--r--lua/plugins.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/plugins.lua b/lua/plugins.lua
index 8793bff9..25f968c4 100644
--- a/lua/plugins.lua
+++ b/lua/plugins.lua
@@ -94,7 +94,8 @@ return require("packer").startup(function(use)
-- Comments
use {
"terrortylor/nvim-comment",
- cmd = "CommentToggle",
+ event = "BufRead",
+ -- cmd = "CommentToggle",
config = function()
local status_ok, nvim_comment = pcall(require, "nvim_comment")
if not status_ok then