Open maikol-solis opened 3 months ago
It works on my side. 🤔 This issue is regarding .dir-locals.el
and not lsp-ltex. Try read https://www.gnu.org/software/emacs/manual/html_node/emacs/Directory-Variables.html for more information!
This very weird, I tried even with nil
and it doesn't work
((nil . ((lsp-ltex-language . "es")
(ispell-local-dictionary . "spanish"))))
The only way to override the language is by calling manually (setq lsp-ltex-language "es")
.
How did you test to see if the value is correct? Make sure you call it inside the proper buffer. 🤔
Basically, I want to use lsp-ltex in a directory with Spanish content. I put this into the
.dir-local.el
inside the folderHowever, the variable
lsp-ltex-language
is still on "en_US"How could I set the language locally?