Add syntax highlighting files

This commit is contained in:
Zachary Yedidia
2016-03-21 12:16:02 -04:00
parent d429dc3df2
commit 8257e94ab1
80 changed files with 1959 additions and 1 deletions

16
syntax_files/haml.micro Normal file
View File

@@ -0,0 +1,16 @@
syntax "Haml" "\.haml$"
color cyan "-|="
color white "->|=>"
icolor cyan "([ ]|^)%[0-9A-Z_]+\b"
icolor magenta ":[0-9A-Z_]+\b"
icolor yellow "\.[A-Z_]+\b"
## 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 "#[^{].*$" "#$"