Use oxlint through linter, fix folding startup error
This commit is contained in:
@@ -3,6 +3,8 @@ return {
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
opts = {
|
||||
servers = {
|
||||
["*"] = {
|
||||
capabilities = {
|
||||
textDocument = {
|
||||
foldingRange = {
|
||||
@@ -13,6 +15,8 @@ return {
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
-- add nvim-ufo
|
||||
{
|
||||
"kevinhwang91/nvim-ufo",
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user