mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-29 22:27:13 +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
@@ -3,17 +3,17 @@ syntax "typescript" "\.ts$"
|
||||
color constant.number "\b[-+]?([1-9][0-9]*|0[0-7]*|0x[0-9a-fA-F]+)([uU][lL]?|[lL][uU]?)?\b"
|
||||
color constant.number "\b[-+]?([0-9]+\.[0-9]*|[0-9]*\.[0-9]+)([EePp][+-]?[0-9]+)?[fFlL]?"
|
||||
color constant.number "\b[-+]?([0-9]+[EePp][+-]?[0-9]+)[fFlL]?"
|
||||
color identifier "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[(]"
|
||||
color identifier.class "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[(]"
|
||||
color statement "\b(abstract|as|async|await|break|case|catch|class|const|constructor|continue)\b"
|
||||
color statement "\b(debugger|declare|default|delete|do|else|enum|export|extends|finally|for|from)\b"
|
||||
color statement "\b(function|get|if|implements|import|in|instanceof|interface|is|let|module|namespace)\b"
|
||||
color statement "\b(new|of|package|private|protected|public|require|return|set|static|super|switch)\b"
|
||||
color statement "\b(this|throw|try|type|typeof|var|void|while|with|yield)\b"
|
||||
color constant "\b(false|true|null|undefined|NaN)\b"
|
||||
color constant.bool "\b(false|true|null|undefined|NaN)\b"
|
||||
color type "\b(Array|Boolean|Date|Enumerator|Error|Function|Math)\b"
|
||||
color type "\b(Number|Object|RegExp|String|Symbol)\b"
|
||||
color type "\b(any|boolean|never|number|string|symbol)\b"
|
||||
color statement "[-+/*=<>!~%?:&|]"
|
||||
color symbol.operator "[-+/*=<>!~%?:&|]"
|
||||
color constant "/[^*]([^/]|(\\/))*[^\\]/[gim]*"
|
||||
color constant "\\[0-7][0-7]?[0-7]?|\\x[0-9a-fA-F]+|\\[bfnrt'"\?\\]"
|
||||
color comment "(^|[[:space:]])//.*"
|
||||
|
||||
Reference in New Issue
Block a user