2016-08-25 03:15:36 +03:00
|
|
|
syntax "haml" "\.haml$"
|
2016-03-21 19:16:02 +03:00
|
|
|
|
|
|
|
color cyan "-|="
|
|
|
|
color white "->|=>"
|
2016-03-25 23:41:36 +03:00
|
|
|
cyan (i) "([ ]|^)%[0-9A-Z_]+\>"
|
|
|
|
magenta (i) ":[0-9A-Z_]+\>"
|
|
|
|
yellow (i) "\.[A-Z_]+\>"
|
2016-03-21 19:16:02 +03:00
|
|
|
## 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 "#[^{].*$" "#$"
|
|
|
|
|