perf(nvim): disable ltex_ls

ltex_ls likes to eat as much ram as it can get its little grubby hands
on
This commit is contained in:
Price Hiller 2023-02-17 19:16:40 -06:00
parent 1572f1b742
commit 86a3d3afc6

View File

@ -298,18 +298,18 @@ for word in io.open(path, "r"):lines() do
table.insert(words, word) table.insert(words, word)
end end
lspconfig.ltex.setup({ -- lspconfig.ltex.setup({
settings = { -- settings = {
ltex = { -- ltex = {
dictionary = { -- dictionary = {
["en-US"] = words, -- ["en-US"] = words,
}, -- },
}, -- },
}, -- },
filetypes = { "bib", "markdown", "org", "plaintex", "rst", "rnoweb", "tex", "pandoc" }, -- filetypes = { "bib", "markdown", "org", "plaintex", "rst", "rnoweb", "tex", "pandoc" },
capabilities = lsp_capabilities, -- capabilities = lsp_capabilities,
on_attach = on_attach, -- on_attach = on_attach,
}) -- })
-- NOTE: GENERIC LSP SERVERS -- NOTE: GENERIC LSP SERVERS
for _, server in ipairs({ for _, server in ipairs({