From 86a3d3afc60126c6ab664a1f85d17d9539d274fb Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Fri, 17 Feb 2023 19:16:40 -0600 Subject: [PATCH] perf(nvim): disable ltex_ls ltex_ls likes to eat as much ram as it can get its little grubby hands on --- .../config/lua/plugins/configs/lsp.lua | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/dots/.nvim-environments/primary/config/lua/plugins/configs/lsp.lua b/dots/.nvim-environments/primary/config/lua/plugins/configs/lsp.lua index 0d568958..65828997 100755 --- a/dots/.nvim-environments/primary/config/lua/plugins/configs/lsp.lua +++ b/dots/.nvim-environments/primary/config/lua/plugins/configs/lsp.lua @@ -298,18 +298,18 @@ for word in io.open(path, "r"):lines() do table.insert(words, word) end -lspconfig.ltex.setup({ - settings = { - ltex = { - dictionary = { - ["en-US"] = words, - }, - }, - }, - filetypes = { "bib", "markdown", "org", "plaintex", "rst", "rnoweb", "tex", "pandoc" }, - capabilities = lsp_capabilities, - on_attach = on_attach, -}) +-- lspconfig.ltex.setup({ +-- settings = { +-- ltex = { +-- dictionary = { +-- ["en-US"] = words, +-- }, +-- }, +-- }, +-- filetypes = { "bib", "markdown", "org", "plaintex", "rst", "rnoweb", "tex", "pandoc" }, +-- capabilities = lsp_capabilities, +-- on_attach = on_attach, +-- }) -- NOTE: GENERIC LSP SERVERS for _, server in ipairs({