fix(lint): trigger lint on BufWritePost event

This commit is contained in:
Renken 2024-08-19 15:19:37 +02:00
parent 2e24c31bb4
commit 90a0f437b4
Signed by: renken
GPG key ID: 1F2BB159B645E575

View file

@ -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 = {