gabrielgio.lua @ 2d94bbee48f6a887e68737ed8d27e3b193618878

 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})