mirror of https://github.com/scopatz/nanorc
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
343 B
Plaintext
15 lines
343 B
Plaintext
## Here is an example for xml files.
|
|
##
|
|
|
|
syntax "XML" ".*\.([jrs]?html?|xml|sgml?|rng|mei|musicxml)$"
|
|
color white "^.+$"
|
|
color green start="<" end=">"
|
|
color cyan "<[^> ]+"
|
|
color cyan ">"
|
|
color yellow start="<!DOCTYPE" end="[/]?>"
|
|
color yellow start="<!--" end="-->"
|
|
color red "&[^;]*;"
|
|
|
|
## Trailing spaces
|
|
color ,green "[[:space:]]+$"
|