Quellcode durchsuchen

new comment lazyload event

christianchiarulli vor 4 Jahren
Ursprung
Commit
83a77ac5cb
1 geänderte Dateien mit 1 neuen und 2 gelöschten Zeilen
  1. 1 2
      lua/plugins.lua

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