view nanorc.d/xml.nanorc @ 95:e7a2fbd79035

Add XML support
author IBBoard <dev@ibboard.co.uk>
date Mon, 02 Apr 2018 19:36:29 +0100
parents
children 67d3ac391320
line wrap: on
line source

syntax "xml" "\.(xml|svg)$"
comment "<!--|-->"

color brightblue start="<[a-zA-Z/]" end=">"
color red "&[^;[[:space:]]]*;"
color yellow "[a-zA-Z_-]+=["']?[^"']+["']"
color green start="<!--" end="-->"
color magenta start="<!\[CDATA\[" end="\]\]>"