Open KatzeCode opened 2 years ago
I set the language in the setup, but I still have problems with some weird errors in formulas. This is what the setting looks like:
local lspconfig = require('lspconfig')
lspconfig.ltex.setup {
settings = {
ltex = {
language = 'es'
}
}
}
Hi, I'm using Neovim, I have the ltex-ls server installed with LspInstall, but when I activate it, it gives alarms for every single word I type in my LaTeX document (I'm writing in spanish), and I wasn't able to find a way to change this language spellcheck in the init.lua file. I'd appreciate if someone has the answer to this, bc all my documents are written in spanish, so I get many alarms of the spellchecking. In a ltex-ls page I saw that just loading the \usepackage[spanish]{babel} in the LaTeX document the ltex-ls would detect it and automatically change the language, but it didn't work. Thanks in advance.