Dotfiles with the latest changes

This commit is contained in:
JirR02 committed 2025-03-14 17:33:29 +01:00
1 parent d39336c479
commit fa6b78a382
108 files changed
+4459 -467

No files matched your search

@@ -0,0 +1,21 @@
return {
"mfussenegger/nvim-lint",
event = { "BufReadPre", "BufNewFile" },
config = function ()
local lint = require("lint")
lint.linters_by_ft = {
python = { "pylint" },
}
local lint_augroup = vim.api.nvim_create_augroup("lint", {clear = true})
vim.api.nvim_create_autocmd({ "BufEnter", "BufWritePost", "InsertLeave" }, {
group = lint_augroup,
callback = function ()
lint.try_lint()
end,
})
end,
}