From 90a0f437b4be6c2ee136f837a6636f29ab9a9624 Mon Sep 17 00:00:00 2001 From: Renken Date: Mon, 19 Aug 2024 15:19:37 +0200 Subject: [PATCH] fix(lint): trigger lint on BufWritePost event --- lua/kickstart/plugins/lint.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/kickstart/plugins/lint.lua b/lua/kickstart/plugins/lint.lua index 7f0dc42..a1eeec2 100644 --- a/lua/kickstart/plugins/lint.lua +++ b/lua/kickstart/plugins/lint.lua @@ -2,7 +2,7 @@ return { { -- Linting 'mfussenegger/nvim-lint', - event = { 'BufReadPre', 'BufNewFile' }, + event = { 'BufWritePost', 'BufReadPre', 'BufNewFile' }, config = function() local lint = require 'lint' lint.linters_by_ft = {