fix(lint): trigger lint on BufWritePost event
This commit is contained in:
parent
2e24c31bb4
commit
90a0f437b4
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ return {
|
||||||
|
|
||||||
{ -- Linting
|
{ -- Linting
|
||||||
'mfussenegger/nvim-lint',
|
'mfussenegger/nvim-lint',
|
||||||
event = { 'BufReadPre', 'BufNewFile' },
|
event = { 'BufWritePost', 'BufReadPre', 'BufNewFile' },
|
||||||
config = function()
|
config = function()
|
||||||
local lint = require 'lint'
|
local lint = require 'lint'
|
||||||
lint.linters_by_ft = {
|
lint.linters_by_ft = {
|
||||||
|
|
Loading…
Reference in a new issue