2016-08-25 00:15:36 +00:00
|
|
|
syntax "haml" "\.haml$"
|
2016-03-21 16:16:02 +00:00
|
|
|
|
2017-03-01 14:30:35 +00:00
|
|
|
color symbol "-|="
|
|
|
|
|
color default "->|=>"
|
|
|
|
|
color constant "([ ]|^)%[0-9A-Za-z_]+>"
|
|
|
|
|
color special ":[0-9A-Za-z_]+>"
|
|
|
|
|
color type "\.[A-Za-z_]+>"
|
2016-03-21 16:16:02 +00:00
|
|
|
## Double quote & single quote
|
2017-03-01 14:30:35 +00:00
|
|
|
color constant.string ""([^"]|(\\"))*"" "%[QW]?\{[^}]*\}" "%[QW]?\([^)]*\)" "%[QW]?<[^>]*>" "%[QW]?\$[^$]*\$" "%[QW]?\^[^^]*\^" "%[QW]?![^!]*!"
|
|
|
|
|
color constant.string "'([^']|(\\'))*'" "%[qw]\{[^}]*\}" "%[qw]\([^)]*\)" "%[qw]<[^>]*>" "%[qw]\[[^]]*\]" "%[qw]\$[^$]*\$" "%[qw]\^[^^]*\^" "%[qw]![^!]*!"
|
2016-03-21 16:16:02 +00:00
|
|
|
## Vars
|
2017-03-01 14:30:35 +00:00
|
|
|
color identifier "#\{[^}]*\}"
|
|
|
|
|
color identifier.var "(@|@@)[0-9A-Z_a-z]+"
|
2016-03-21 16:16:02 +00:00
|
|
|
## Comments
|
2017-03-01 14:30:35 +00:00
|
|
|
color comment "#[^{].*$" "#$"
|
2016-03-21 16:16:02 +00:00
|
|
|
|