Mercurial > repos > other > linux
view nanorc.d/haml.nanorc @ 84:b989099cde9f
Start to update Nano colourisation
Defaults are REALLY basic
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 31 Mar 2018 21:06:21 +0100 |
parents | |
children |
line wrap: on
line source
syntax "Haml" "\.haml$" color cyan "-|=" color white "->|=>" icolor cyan "([ ]|^)%[0-9A-Z_]+\>" icolor magenta ":[0-9A-Z_]+\>" icolor yellow "\.[A-Z_]+\>" ## Double quote & single quote color green ""([^"]|(\\"))*"" "%[QW]?\{[^}]*\}" "%[QW]?\([^)]*\)" "%[QW]?<[^>]*>" "%[QW]?\$[^$]*\$" "%[QW]?\^[^^]*\^" "%[QW]?![^!]*!" color green "'([^']|(\\'))*'" "%[qw]\{[^}]*\}" "%[qw]\([^)]*\)" "%[qw]<[^>]*>" "%[qw]\[[^]]*\]" "%[qw]\$[^$]*\$" "%[qw]\^[^^]*\^" "%[qw]![^!]*!" ## Vars color brightgreen "#\{[^}]*\}" color brightblue "(@|@@)[0-9A-Z_a-z]+" ## Comments color brightcyan "#[^{].*$" "#$" ## Trailing spaces color ,green "[[:space:]]+$"