gabrielgio.lua @ 1f10205b39b1419c1644f749aea4b57baa12f4ea

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