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.

You are viewing a single thread.
View all comments
2 points

Do you have the language set within the .tex document itself? /selectlanguage{French} Or something like that. You may need to /usepackage{babel} as well or similar. I haven’t played around much with LaTeX, so not sure this will work or not–but everything I’ve seen indicates that the TeX document language setting is what will key the LSP language setting.

permalink
report
reply
1 point

On second thought, it looks like it probably isn’t even vimtex or LSP related–probably just your vim settings. Try :set spelllang+=fr

permalink
report
parent
reply
1 point

Yes, just found out it’s not actually latex related, thought this because the spelling mistake text never showed up before, I try what you said later, thank you for your help !

permalink
report
parent
reply

VIM - Vi IMproved

!vim@lemmy.sdf.org

Create post

For Vim enthusiasts and anyone interested in Vim/Neovim!

“VIM is the greatest editor since the stone chisel.” - Dr. Jose Unpingco

#HJKL

Community stats

  • 2

    Monthly active users

  • 31

    Posts

  • 153

    Comments