浏览代码

Merge branch 'master' of github.com:ChristianChiarulli/LunarVim into stable

christianchiarulli 4 年之前
父节点
当前提交
aa6f081062
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      lua/plugins.lua

+ 2 - 1
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