diff options
| -rw-r--r-- | lua/ache/plugins/lsp/lspconfig.lua | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lua/ache/plugins/lsp/lspconfig.lua b/lua/ache/plugins/lsp/lspconfig.lua index 332652f..0e496e0 100644 --- a/lua/ache/plugins/lsp/lspconfig.lua +++ b/lua/ache/plugins/lsp/lspconfig.lua @@ -136,6 +136,23 @@ return { end, }) end, + ["ltex"] = function() + lspconfig["ltex"].setup({ + filetypes = { "latex", "typst", "typ", "bib", "markdown", "plaintex", "tex" }, + settings = { + ltex = { + enabled = { "latex", "typst", "typ", "bib", "markdown", "plaintex", "tex" }, + language = { "en-GB", "fr-FR" }, + setenceCacheSize = 2000, + additionalRules = { + enablePickyRules = true, + motherTongue = "fr-FR", + }, + checkFrequency = "edit", + }, + }, + }) + end, ["lua_ls"] = function() lspconfig["lua_ls"].setup({ capabilities = capabilities, |