nvim/lua/plugins/lint.lua

6 lines
115 B
Lua

vim.api.nvim_create_autocmd({ 'BufWritePost' }, {
callback = function()
require('lint').try_lint()
end,
})