From 774aaddd4a679f2df07063d4f969740ab282f370 Mon Sep 17 00:00:00 2001 From: Andrzej Stepien Date: Mon, 18 Mar 2024 21:55:22 +0100 Subject: [PATCH] configure latex --- lua/plugins/lsp.lua | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua index 36f3015..6bf1b9b 100644 --- a/lua/plugins/lsp.lua +++ b/lua/plugins/lsp.lua @@ -121,7 +121,17 @@ return { -- LSP Configuration & Plugins -- -- But for many setups, the LSP (`tsserver`) will work just fine tsserver = {}, - ltex = {}, -- + ltex = { + + settings = { + ltex = { + language = "en", + additionalRules = { + languageModel = "~/ngrams/", + }, + }, + }, + }, -- lua_ls = { -- cmd = {...},