refactor(nvim): cleanup nvim config

This commit is contained in:
2026-03-18 12:11:17 +01:00
parent 41011923ac
commit 55a69316a5
14 changed files with 105 additions and 422 deletions

View File

@@ -28,9 +28,6 @@ require("lint").linters_by_ft = {
yaml = { "yamllint" },
}
-- TODO: Wouldn't it be possible / nice to only try to load the linters when they are
-- actually needed?
vim.api.nvim_create_autocmd({ "BufEnter", "BufWritePost", "InsertLeave" }, {
callback = function()
require("lint").try_lint()