summaryrefslogtreecommitdiff
path: root/share/nano/xml.nanorc
blob: 1f68c05341ad8496502a18f59ec92b18f39b8c3c (plain)
1
2
3
4
5
6
7
8
9
## Here is an example for xml files.
##
syntax "xml" "\.([jrs]html?|sgml?|xml|xslt?)$"
color green  start="<" end=">"
color cyan   "<[^> ]+"
color cyan   ">"
color yellow start="<!DOCTYPE" end="[/]?>"
color yellow start="<!--" end="-->"
color red    "&[^;]*;"