فهرست منبع

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