mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-29 06:12:35 +09:00
Syntax Highlight Overhaul (#568)
* 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.
This commit is contained in:
committed by
Zachary Yedidia
parent
924809b19b
commit
c29e58e3d4
@@ -1,16 +1,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 " + +| + +"
|
||||
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 " + +| + +"
|
||||
|
||||
Reference in New Issue
Block a user