2016-03-21 19:16:02 +03:00
|
|
|
## Here is an example for xml files.
|
|
|
|
##
|
|
|
|
|
|
|
|
syntax "XML" ".*\.([jrs]?html?|xml|sgml?|rng)$"
|
|
|
|
color white "^.+$"
|
2016-03-25 23:41:36 +03:00
|
|
|
color green start="<" end=">"
|
2016-03-21 19:16:02 +03:00
|
|
|
color cyan "<[^> ]+"
|
|
|
|
color cyan ">"
|
2016-03-25 23:41:36 +03:00
|
|
|
color yellow start="<!DOCTYPE" end="[/]?>"
|
|
|
|
color yellow start="<!--" end="-->"
|
2016-03-21 19:16:02 +03:00
|
|
|
color red "&[^;]*;"
|