问题
Just getting into Vim, but can't figure out why it's not highlighting these HTML tags properly. Shouldn't the closing body and html tags be bold and red? See pic.

回答1:
Most colorschemes don't go very far beyond the generic highlight groups like Keyword
or String
.
My favorite colorscheme is Sorcerer but I had to customize it like that :
hi htmlTag guifg=#90b0d1 gui=NONE
hi htmlSpecialTagName guifg=#90b0d1 gui=NONE
hi htmlTagName guifg=#90b0d1 gui=NONE
hi htmlEndTag guifg=#90b0d1 gui=NONE
to obtain this:

来源:https://stackoverflow.com/questions/5132877/proper-tag-highlighting-in-vim