1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-05 01:00:00 +01:00
nanorc/xml.nanorc

12 lines
280 B
Plaintext
Raw Normal View History

2010-07-29 00:15:43 +02:00
## Here is an example for xml files.
##
2012-12-11 03:23:03 +01:00
syntax "ml" ".*\.([jrs]?html?|xml|sgml?|rng)$"
2010-07-29 00:15:43 +02:00
color white "^.+$"
color green start="<" end=">"
color cyan "<[^> ]+"
color cyan ">"
color yellow start="<!DOCTYPE" end="[/]?>"
color yellow start="<!--" end="-->"
color red "&[^;]*;"