Mercurial > repos > other > linux
annotate nanorc.d/xml.nanorc @ 96:67d3ac391320
Reduce colouring for HTML/XML attributes
Just colour the string, not the attribute name
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Mon, 02 Apr 2018 19:42:00 +0100 |
parents | e7a2fbd79035 |
children | 767746af2cfe |
rev | line source |
---|---|
95 | 1 syntax "xml" "\.(xml|svg)$" |
2 comment "<!--|-->" | |
3 | |
4 color brightblue start="<[a-zA-Z/]" end=">" | |
5 color red "&[^;[[:space:]]]*;" | |
96
67d3ac391320
Reduce colouring for HTML/XML attributes
IBBoard <dev@ibboard.co.uk>
parents:
95
diff
changeset
|
6 color yellow "["'][^"']*["']" |
95 | 7 color green start="<!--" end="-->" |
8 color magenta start="<!\[CDATA\[" end="\]\]>" |