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,