From e357684dea188d14b321be49c5a3bcabd95de345 Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Tue, 12 Mar 2024 17:30:16 +0100 Subject: [PATCH] disable ltex --- lua/custom/configs/lspconfig.lua | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lua/custom/configs/lspconfig.lua b/lua/custom/configs/lspconfig.lua index 4a98009..3e30794 100644 --- a/lua/custom/configs/lspconfig.lua +++ b/lua/custom/configs/lspconfig.lua @@ -50,7 +50,7 @@ lspconfig.rust_analyzer.setup { }, } -lspconfig.ltex.setup { +local ltex_table = { on_attach = on_attach, capabilities = capabilities, settings = { @@ -61,9 +61,9 @@ lspconfig.ltex.setup { enabled = { -- I'm writing in german but the commands are in english, -- does not really work - -- "bibtex", - -- "tex", - -- "latex", + "bibtex", + "tex", + "latex", "gitcommit", "markdown", "org", @@ -78,6 +78,7 @@ lspconfig.ltex.setup { }, }, } +-- lspconfig.ltex.setup(ltex_table) lspconfig.textlsp.setup { on_attach = on_attach,