Add syntax flags and fix a couple highlighting bugs

This commit is contained in:
Zachary Yedidia
2016-03-21 14:48:17 -04:00
parent 96254717c6
commit b8f6850c58
50 changed files with 204 additions and 185 deletions

View File

@@ -3,9 +3,10 @@
syntax "XML" ".*\.([jrs]?html?|xml|sgml?|rng)$"
color white "^.+$"
color green "(?s)<.*?>"
color green (s) "<.*?>"
color cyan "<[^> ]+"
color cyan ">"
color yellow "(?s)<!DOCTYPE.*?[/]?>"
color yellow "(?s)<!--.*?-->"
color yellow (s) "<!DOCTYPE.*?[/]?>"
color yellow (s) "<!--.*?-->"
color red "&[^;]*;"