1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-16 22:24:14 +01:00
nanorc/xml.nanorc
2012-12-10 20:23:03 -06:00

12 lines
280 B
Plaintext

## Here is an example for xml files.
##
syntax "ml" ".*\.([jrs]?html?|xml|sgml?|rng)$"
color white "^.+$"
color green start="<" end=">"
color cyan "<[^> ]+"
color cyan ">"
color yellow start="<!DOCTYPE" end="[/]?>"
color yellow start="<!--" end="-->"
color red "&[^;]*;"