mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-17 06:17:12 +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.
19 lines
850 B
Plaintext
19 lines
850 B
Plaintext
syntax "vala" "\.vala$"
|
|
|
|
color type "\<(float|double|bool|char|int|uint|short|long|void|(un)?signed)\>"
|
|
color identifier.class "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[()]"
|
|
color statement "\<(for|if|while|do|else|case|default|switch|try|throw|catch)\>"
|
|
color statement "\<(inline|typedef|struct|enum|union|extern|static|const)\>"
|
|
color statement "\<(operator|new|delete|return|null)\>"
|
|
color statement "\<(class|override|private|public|signal|this|weak)\>"
|
|
color special "\<(goto|break|continue)\>"
|
|
color constant.bool "\<(true|false)\>"
|
|
color constant.number "\<([0-9]+)\>"
|
|
color symbol.operator "[-+/*=<>?:!~%&|]" "->"
|
|
color constant.string ""(\\.|[^"])*"|'(\\.|[^'])*'"
|
|
color comment "(^|[[:space:]])//.*"
|
|
color comment start="/\*" end="\*/"
|
|
color todo "TODO:?"
|
|
color indent-char.whitespace "[[:space:]]+$"
|
|
color indent-char " + +| + +"
|