8803d93872
This may be a breaking change if you are using a plugin that checks the filetype. All the default plugins are now updated, just make the filetype you were checking for previously all lowercase.
17 lines
585 B
Text
17 lines
585 B
Text
syntax "haml" "\.haml$"
|
|
|
|
color cyan "-|="
|
|
color white "->|=>"
|
|
cyan (i) "([ ]|^)%[0-9A-Z_]+\>"
|
|
magenta (i) ":[0-9A-Z_]+\>"
|
|
yellow (i) "\.[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 "#[^{].*$" "#$"
|
|
|