diff --git a/.config/nvim/lua/plugins/ltex-ls.lua b/.config/nvim/lua/plugins/ltex-ls.lua index 729a994f..71ba7727 100644 --- a/.config/nvim/lua/plugins/ltex-ls.lua +++ b/.config/nvim/lua/plugins/ltex-ls.lua @@ -1,7 +1,31 @@ return { { "neovim/nvim-lspconfig", - opts = {}, + opts = { + servers = { + ltex = { + settings = { + ltex = { + language = "en", + enabled = { + "latex", + "tex", + "bib", + "md", + "markdown", + }, + -- checkFrequency = { "save" }, + -- diagnosticSeverity = "information", + -- sentencetCacheSize = 5000, + -- additionalRules = { + -- enablePickyRules = true, + -- motherTongue = "en", + -- }, + }, + }, + }, + }, + }, }, { "williamboman/mason-lspconfig.nvim",