1local lint = require("lint") 2 3lint.linters_by_ft = { 4 go = { "golangcilint" }, 5 lua = { "luacheck" }, 6 fish = { "fish" }, 7} 8 9vim.api.nvim_create_autocmd({ "BufWritePost" }, { 10 callback = function() 11 lint.try_lint() 12 end, 13})