-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possibly incorrect highlighting for xml/xsl #5
Comments
This is actually intentional, as it makes reading the XML content easier. I could add a config for it, if you'd like. |
It would be cool, thank you. |
I looked a bit closer at this, and the reason this happens is because the syntax declared by syntax\xml.vim is this:
Molokai uses different colors for functions and identifiers. I guess I could add either a g:molokai_no_identifier or g:molokai_no_function setting to force them to be the same, but it will definitely affect the rest, not just xml highlighting. I could add a g:molokai_no_identifier |
It may be solved by this workaround: if s:molokai_xml_hack == 1
hi def link xmlEndTag Function
end But it's a hack. |
Opening and closing tags are highlighted by different colors.
The text was updated successfully, but these errors were encountered: