mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07:00
Merge branch 'master' of github.com:scopatz/nanorc
This commit is contained in:
commit
023a2c7f28
1 changed files with 16 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue