summaryrefslogtreecommitdiff
path: root/.config/nano/coffeescript.nanorc
blob: b901c2509dcf153c6000dfd950a678d8ace459a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
syntax "CoffeeScript" "\.coffee$"
header "^#!.*/(env +)?coffee"

color red "[!&|=\/*+\-\<\>]|\<(and|or|is|isnt|not)\>"
color brightblue "[A-Za-z_][A-Za-z0-9_]*:[[:space:]]*(->|\()" "->"
color brightblue "[()]"
color cyan  "\<(for|of|continue|break|isnt|null|unless|this|else|if|return)\>"
color cyan  "\<(try|catch|finally|throw|new|delete|typeof|in|instanceof)\>"
color cyan  "\<(debugger|switch|while|do|class|extends|super)\>"
color cyan  "\<(undefined|then|unless|until|loop|of|by|when)\>"
color brightcyan  "\<(true|false|yes|no|on|off)\>"
color brightyellow "@[A-Za-z0-9_]*"
color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
color brightblack "(^|[[:space:]])#([^{].*)?$"
color ,green "[[:space:]]+$"
color ,red "	+ +| +	+"