Mercurial > repos > other > linux
comparison nanorc.d/coffeescript.nanorc @ 84:b989099cde9f
Start to update Nano colourisation
Defaults are REALLY basic
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 31 Mar 2018 21:06:21 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
83:966d8f8f89d0 | 84:b989099cde9f |
---|---|
1 syntax "CoffeeScript" "\.coffee$" | |
2 header "^#!.*/(env +)?coffee" | |
3 | |
4 color red "[!&|=\/*+\-\<\>]|\<(and|or|is|isnt|not)\>" | |
5 color brightblue "[A-Za-z_][A-Za-z0-9_]*:[[:space:]]*(->|\()" "->" | |
6 color brightblue "[()]" | |
7 color cyan "\<(for|of|continue|break|isnt|null|unless|this|else|if|return)\>" | |
8 color cyan "\<(try|catch|finally|throw|new|delete|typeof|in|instanceof)\>" | |
9 color cyan "\<(debugger|switch|while|do|class|extends|super)\>" | |
10 color cyan "\<(undefined|then|unless|until|loop|of|by|when)\>" | |
11 color brightcyan "\<(true|false|yes|no|on|off)\>" | |
12 color brightyellow "@[A-Za-z0-9_]*" | |
13 color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'" | |
14 color brightblack "(^|[[:space:]])#([^{].*)?$" | |
15 color ,green "[[:space:]]+$" | |
16 color ,red " + +| + +" |