nvim: Remove harper lsp
For the time being remove harper (code spellcheck) lsp from the automatically loaded LSPs. It's not *bad* per se but also requires way more setup for me to be useful and throws up false positives all over the place. Worst of all though it does not seem to actually stop producing diagnostics when it is stopped (with `LspStop <harper-id>`) like all the other LSPs do, so there is no way to get rid of its results.
This commit is contained in:
parent
4f2acad60d
commit
1e44ef4c11
1 changed files with 0 additions and 23 deletions
|
@ -11,7 +11,6 @@ local servers = {
|
||||||
emmet_ls = {},
|
emmet_ls = {},
|
||||||
eslint = {},
|
eslint = {},
|
||||||
gopls = {},
|
gopls = {},
|
||||||
harper_ls = {},
|
|
||||||
julials = {},
|
julials = {},
|
||||||
jsonls = {},
|
jsonls = {},
|
||||||
ltex = { autostart = false },
|
ltex = { autostart = false },
|
||||||
|
@ -257,28 +256,6 @@ return {
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
lspconfig.harper_ls.setup({
|
|
||||||
filetypes = { -- standard filetypes plus quarto
|
|
||||||
"c",
|
|
||||||
"cpp",
|
|
||||||
"csharp",
|
|
||||||
"gitcommit",
|
|
||||||
"go",
|
|
||||||
"html",
|
|
||||||
"java",
|
|
||||||
"javascript",
|
|
||||||
"lua",
|
|
||||||
"markdown",
|
|
||||||
"python",
|
|
||||||
"quarto",
|
|
||||||
"ruby",
|
|
||||||
"rust",
|
|
||||||
"swift",
|
|
||||||
"toml",
|
|
||||||
"typescript",
|
|
||||||
"typescriptreact",
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
||||||
local python_path
|
local python_path
|
||||||
-- ensure python virtualenv is determined automatically on lsp start
|
-- ensure python virtualenv is determined automatically on lsp start
|
||||||
|
|
Loading…
Reference in a new issue