Improve performance for xml and html files

This commit is contained in:
Zachary Yedidia
2016-09-10 10:32:21 -04:00
parent fd786b3020
commit 210a538cdd
3 changed files with 4 additions and 5 deletions

View File

@@ -1,8 +1,7 @@
## Here is an example for xml files.
syntax "xml" "\.(xml|sgml?|rng|plist)$"
color statement "<[^> ]+"
color statement ">"
color identifier "<.*?>"
color comment start="<!DOCTYPE" end="[/]?>"
color comment start="<!--" end="-->"
color special "&[^;]*;"