require('lint').linters_by_ft = { bash = {'shellcheck'}, sh = {'shellcheck'} } vim.cmd('au BufWritePost lua require("lint").try_lint()')