mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-10 06:40:24 +09:00
* Adds new syntax groups and docs * Large refactor of syntax highlighting files * Changed keybindings for changing tabs. * Improved the documentation. * Added F3 for find to default bindings. * Massive overhaul of the syntax files * Phase 1 color-scheme updates. * The new colorschemes. * Colorscheme and syntax updates. * Tiny fix to the cmc theme. * Another phase of colorschemes and testing gitconfig. * Fixed haskell error * Fortran fix * Delete test.txt Heh, sorry about forgetting to do this again.
17 lines
791 B
Plaintext
17 lines
791 B
Plaintext
syntax "coffeescript" "\.coffee$"
|
|
header "^#!.*/(env +)?coffee"
|
|
|
|
color symbol.operator "[!&|=/*+-<>]|\<(and|or|is|isnt|not)\>"
|
|
color identifier.class "[A-Za-z_][A-Za-z0-9_]*:[[:space:]]*(->|\()" "->"
|
|
color symbol.brackets "[()]"
|
|
color statement "\<(for|of|continue|break|isnt|null|unless|this|else|if|return)\>"
|
|
color statement "\<(try|catch|finally|throw|new|delete|typeof|in|instanceof)\>"
|
|
color statement "\<(debugger|switch|while|do|class|extends|super)\>"
|
|
color statement "\<(undefined|then|unless|until|loop|of|by|when)\>"
|
|
color constant.bool "\<(true|false|yes|no|on|off)\>"
|
|
color identifier "@[A-Za-z0-9_]*"
|
|
color constant.string ""(\\.|[^"])*"|'(\\.|[^'])*'"
|
|
color comment "(^|[[:space:]])#([^{].*)?$"
|
|
color indent-char.whitespace "[[:space:]]+$"
|
|
color indent-char " + +| + +"
|