f7568438ef
In the horrible scenario in which neovim or vim are not available on a
system I use (and yeah, I found one recently wtf), nano is a simple
alternative that gets the job done... these files are for my comfort IN
nano but not optimal. 😞
19 lines
432 B
Plaintext
19 lines
432 B
Plaintext
## Here is an example for xml files.
|
|
##
|
|
|
|
syntax "XML" ".*\.([jrs]?html?|xml|sgml?|rng|vue|mei|musicxml)$"
|
|
header "<\?xml.*version=.*\?>"
|
|
magic "(XML|SGML) (sub)?document"
|
|
comment "<!--|-->"
|
|
|
|
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:]]+$"
|