From 1e44ef4c11028b5915e0aabf5152f415673de8fa Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Wed, 7 Aug 2024 20:19:09 +0200 Subject: [PATCH] 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 `) like all the other LSPs do, so there is no way to get rid of its results. --- nvim/.config/nvim/lua/plugins/lsp.lua | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/nvim/.config/nvim/lua/plugins/lsp.lua b/nvim/.config/nvim/lua/plugins/lsp.lua index 41a4f4f..760a51d 100644 --- a/nvim/.config/nvim/lua/plugins/lsp.lua +++ b/nvim/.config/nvim/lua/plugins/lsp.lua @@ -11,7 +11,6 @@ local servers = { emmet_ls = {}, eslint = {}, gopls = {}, - harper_ls = {}, julials = {}, jsonls = {}, ltex = { autostart = false }, @@ -257,28 +256,6 @@ return { 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 -- ensure python virtualenv is determined automatically on lsp start