Use oxlint through linter, fix folding startup error

This commit is contained in:
2026-01-16 19:25:22 -05:00
parent 1b74923dfa
commit 1ada35acd9
2 changed files with 11 additions and 5 deletions

View File

@@ -3,6 +3,8 @@ return {
{ {
"neovim/nvim-lspconfig", "neovim/nvim-lspconfig",
opts = { opts = {
servers = {
["*"] = {
capabilities = { capabilities = {
textDocument = { textDocument = {
foldingRange = { foldingRange = {
@@ -13,6 +15,8 @@ return {
}, },
}, },
}, },
},
},
-- add nvim-ufo -- add nvim-ufo
{ {
"kevinhwang91/nvim-ufo", "kevinhwang91/nvim-ufo",

View File

@@ -10,6 +10,8 @@ return {
-- removing .proto from the list of filetypes since clangd doesn't seem to be able to parse them -- removing .proto from the list of filetypes since clangd doesn't seem to be able to parse them
filetypes = { "c", "cpp", "objc", "objcpp", "cuda" }, 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 -- Disable eslint formatting as it's slow and timing out on big projects
-- taken from -- taken from