From 442e0430b785defe37ebbd8c908e9e9cd086f88e Mon Sep 17 00:00:00 2001 From: kalmenn Date: Fri, 13 Sep 2024 19:20:22 +0200 Subject: [PATCH] feat(lsp): Make ltex automatically choose the correct language --- lua/plugins/lsp.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua index 6478f98..6ceff04 100644 --- a/lua/plugins/lsp.lua +++ b/lua/plugins/lsp.lua @@ -107,6 +107,16 @@ return { }, }) end, + ["ltex"] = function() + lspconfig.ltex.setup { + capabilities = capabilities, + settings = { + ltex = { + language = "auto", + }, + }, + } + end, }, }) end,