From 2e0584f6e60ef124f38859ccf242239977577ed4 Mon Sep 17 00:00:00 2001 From: "Thing-han, Lim" <15379156+potsrevennil@users.noreply.github.com> Date: Sat, 15 Aug 2026 14:09:22 +0800 Subject: [PATCH] refactor(nvim): drop lazyvim.plugins.linting import nvim-lint was loading on every LazyFile but LazyVim's default only configures a linter for `fish`, which none of this config's languages use -- so it registered a BufWritePost/InsertLeave autocmd and then never ran a linter. Diagnostics already come from the LSP servers and none-ls (golangci_lint, deadnix). The per-language nvim-lint setups live in lazyvim.plugins.extras.lang.* modules this config doesn't import, so the `linting` import was its only spec: dropping it removes nvim-lint cleanly. Co-Authored-By: Claude Opus 4.8 --- lua/config/lazy.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/lua/config/lazy.lua b/lua/config/lazy.lua index ae090fb..80f90fc 100644 --- a/lua/config/lazy.lua +++ b/lua/config/lazy.lua @@ -61,7 +61,6 @@ lazy.setup({ { import = "lazyvim.plugins.coding" }, { import = "lazyvim.plugins.editor" }, { import = "lazyvim.plugins.formatting" }, - { import = "lazyvim.plugins.linting" }, -- ".init", not "lazyvim.plugins.lsp" -- that directory also has keymaps.lua, a non-spec helper module lazy.nvim would otherwise choke on. { import = "lazyvim.plugins.lsp.init" }, { import = "lazyvim.plugins.treesitter" },