]> git.rmz.io Git - dotfiles.git/blobdiff - nvim/lua/plugins/lint.lua
lazyvim: replace LazyFile with their actual events
[dotfiles.git] / nvim / lua / plugins / lint.lua
index de4c4f2b8cedbb51f070d2a0266cdbd242afd833..018457752833067319d51bb366a4882919efbab6 100644 (file)
@@ -2,7 +2,7 @@ local M = {}
 
 return {
   { "mfussenegger/nvim-lint",
-    event = "LazyFile",
+    event = { "BufReadPost", "BufNewFile", "BufWritePre" },
     opts = {
       -- Event to trigger linters
       events = { "BufWritePost", "BufReadPost", "InsertLeave" },