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-21 21:48:17 +03:00
|
|
|
color green (s) "<.*?>"
|
2016-03-21 19:16:02 +03:00
|
|
|
color cyan "<[^> ]+"
|
|
|
|
color cyan ">"
|
2016-03-21 21:48:17 +03:00
|
|
|
color yellow (s) "<!DOCTYPE.*?[/]?>"
|
|
|
|
color yellow (s) "<!--.*?-->"
|
2016-03-21 19:16:02 +03:00
|
|
|
color red "&[^;]*;"
|
2016-03-21 21:48:17 +03:00
|
|
|
|