mirror of
https://github.com/scopatz/nanorc
synced 2024-11-27 12:25:53 +01:00
Added haml.nanorc
This commit is contained in:
parent
211cd58347
commit
610a0b9acd
16
haml.nanorc
Normal file
16
haml.nanorc
Normal file
|
@ -0,0 +1,16 @@
|
|||
syntax "haml" "\.haml$"
|
||||
|
||||
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 "#[^{].*$" "#$"
|
||||
|
Loading…
Reference in New Issue
Block a user