8

Hi everyone,
could someone help a desperate student to turn off the 'Possible spelling mistake found' in LaTeX files with the vimtex plugin. It's been 3h now and I still dont have any idea on how to turn this off (or at least change the language, but knowing how to do both would be really cool). I tried everything I could, still don't kow where this is from.
Help would be really appreciated.
Thanks in advance.

top 2 comments
sorted by: hot top controversial new old
[-] answer42@programming.dev 2 points 4 weeks ago* (last edited 4 weeks ago)

I don't use vimtex, but this looks to be related to the encoding of international characters. In the vimtex getting started, I found this in the requirements:

  • UTF8 character encoding enabled (enabled by default in Neovim; place the line set encoding=utf-8in your vimrc).

See :help vimtex-requirements for details on requirements for using VimTeX.

Maybe that could help

[-] metiulekm@sh.itjust.works 1 points 4 weeks ago

This looks suspiciously similar to what LTeX produces for me. Are you sure that this is not the true origin of the error? If this is indeed LTeX, you will see it in :LspInfo.

If so, here is some info about changing the language of LTeX: https://valentjn.github.io/ltex/advanced-usage.html In short, you could try \usepackage[french]{babel}, or % LTeX: language=fr-FR.

this post was submitted on 08 Jun 2024
8 points (83.3% liked)

Neovim

1967 readers
53 users here now

founded 1 year ago
MODERATORS