]> git.lizzy.rs Git - micro.git/blobdiff - runtime/syntax/xml.micro
adding hexidecimal numbers to the existing C syntax rules
[micro.git] / runtime / syntax / xml.micro
index d4254afbcfc70d044bd58a25dda277d05696628a..3cdccf1a99b5aa970c20f6e993345511352a96a1 100644 (file)
@@ -1,11 +1,7 @@
 ## Here is an example for xml files.
-##
 
 syntax "xml" "\.(xml|sgml?|rng|plist)$"
-color white "^.+$"
-color green  start="<" end=">"
-color cyan   "<[^> ]+"
-color cyan   ">"
-color yellow start="<!DOCTYPE" end="[/]?>"
-color yellow start="<!--" end="-->"
-color red    "&[^;]*;"
+color identifier "<.*?>"
+color comment start="<!DOCTYPE" end="[/]?>"
+color comment start="<!--" end="-->"
+color special    "&[^;]*;"