This question already has an answer here:
I'm new to
vim and bumped into a problem.
Short question -- will
vim tell me why it chose to highlight certain text in a certain way?
Long question --
vimdiff to compare two files, and the "DiffChange" highlight uses a purple background.
However, the files I'm diff'ing are
puppet files, and there are quite a few possible highlights that show the text in the same purple color.
So what I'd really like to do is move to a specific character and have
vim tell me "this character is subject to the following highlights" so that I know which one (for the text color) needs to be changed.
Is that possible?