2016-03-02 20:49:58 +01:00
|
|
|
syntax "Haml" "\.haml$"
|
2012-03-12 15:36:30 +01:00
|
|
|
|
|
|
|
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 "#[^{].*$" "#$"
|
|
|
|
|
2016-12-06 22:00:19 +01:00
|
|
|
## Trailing spaces
|
|
|
|
color ,green "[[:space:]]+$"
|