From 1ada35acd9c5f32ecbc9467b8dcbc51973804e4f Mon Sep 17 00:00:00 2001 From: Tyler Hallada Date: Fri, 16 Jan 2026 19:25:22 -0500 Subject: [PATCH] Use oxlint through linter, fix folding startup error --- lua/plugins/folding.lua | 14 +++++++++----- lua/plugins/lspconfig.lua | 2 ++ 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/lua/plugins/folding.lua b/lua/plugins/folding.lua index 44eb404..f3b2bf6 100644 --- a/lua/plugins/folding.lua +++ b/lua/plugins/folding.lua @@ -3,11 +3,15 @@ return { { "neovim/nvim-lspconfig", opts = { - capabilities = { - textDocument = { - foldingRange = { - dynamicRegistration = false, - lineFoldingOnly = true, + servers = { + ["*"] = { + capabilities = { + textDocument = { + foldingRange = { + dynamicRegistration = false, + lineFoldingOnly = true, + }, + }, }, }, }, diff --git a/lua/plugins/lspconfig.lua b/lua/plugins/lspconfig.lua index 27e7576..cc6406e 100644 --- a/lua/plugins/lspconfig.lua +++ b/lua/plugins/lspconfig.lua @@ -10,6 +10,8 @@ return { -- removing .proto from the list of filetypes since clangd doesn't seem to be able to parse them filetypes = { "c", "cpp", "objc", "objcpp", "cuda" }, }, + -- Disable oxlint LSP - using nvim-lint with CLI instead for type-aware support + oxlint = { enabled = false }, }, -- Disable eslint formatting as it's slow and timing out on big projects -- taken from