cross-posted from: https://lemmy.world/post/16310027

Help disabling “Possible spelling mistake found” in vimtex

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.

  • @MeanPresentation80OP
    link
    26 months ago

    Here is the solution in case someone came across this post in the future.To set the language of your LaTeX file, put :

    \usepackage\[french]{babel}

    and download the texlive-lang package corresponding :

    sudo pacman -S texlive-lang

    • @[email protected]
      link
      fedilink
      16 months ago

      Glad you got it resolved! (Especially as, while I noted in my earlier reply, I don’t use LaTeX currently, but I’m planning on switching over from asciidoc in the near future for reports and notes and occasionally I do need to write in French!)