Use oxlint through linter, fix folding startup error
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user