Is it possible in vim to see why a particular word is highlighted the way it is? In particular, I have set spell on, and it's got some weird highlighting going on in some situations. This is not limited to spellcheck, obviously.
I have something like this in my status line:
:echo synIDattr(synID(line("."), col("."), 1), "name")
It displays how vim has parsed the syntax for the item under the cursor, which you may be able to use to figure out the source of the highlight.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With