Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Find out cause of strange highlight in Vim

Tags:

vim

I am using latexbox in vim for latex file editing. I found that some words such as "vertices", "Online" "i.e." are highlighted in light blue. Is there any way to find out the rule why Vim makes such strange highlight? I would simply want to disable it.

like image 231
Jeremy Avatar asked Nov 12 '22 10:11

Jeremy


1 Answers

For this, the SyntaxAttr.vim - Show syntax highlighting attributes plugin is indispensable. It'll show you the syntax group under the cursor. You can then disable that (preferably in ~/.vim/after/syntax/tex.vim, using :syntax clear {group-name}).

like image 147
Ingo Karkat Avatar answered Nov 15 '22 06:11

Ingo Karkat