Initial Commit

This commit is contained in:
Ben Foster committed 2024-11-15 02:18:40 -07:00
commit b268e041e9
34 files changed
+1502

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
local lint = require("lint")
lint.linters_by_ft = {
lua = { "luacheck" },
-- haskell = { "hlint" },
python = { "flake8" },
}
lint.linters.luacheck.args = {
unpack(lint.linters.luacheck.args),
"--globals",
"love",
"vim",
}
vim.api.nvim_create_autocmd({ "BufEnter", "BufWritePost", "InsertLeave" }, {
callback = function()
lint.try_lint()
end,
})