[Tex/LaTex] Disable visually italicizing characters in \textit when using LaTeX-Suite


I am using Vim + LaTeX-Suite plugin to write LaTeX source file. I noticed that LaTeX-Suite would automatically italicize characters in \textit (which made text inside almost illegible) and bold characters in \textbf (which bolded text inside).

Text inside <code>\textit</code> get visually italicized

Text inside <code>\textbf</code> get visually bolded

So is there a way to disable this behavior?

Best Answer

You can edit the highlight for texItalStyle and texBoldStyle. I prefer to simply clear them by doing:

hi clear texItalStyle
hi clear texBoldStyle

You can find the highlight group of the text under the cursor by running the mapping provided here.