mirror of
https://github.com/zyedidia/micro.git
synced 2026-02-07 15: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.
13 lines
643 B
Plaintext
13 lines
643 B
Plaintext
## Here is an example for Java.
|
|
##
|
|
syntax "java" "\.java$"
|
|
color type "\b(boolean|byte|char|double|float|int|long|new|short|this|transient|void)\b"
|
|
color statement "\b(break|case|catch|continue|default|do|else|finally|for|if|return|switch|throw|try|while)\b"
|
|
color type "\b(abstract|class|extends|final|implements|import|instanceof|interface|native|package|private|protected|public|static|strictfp|super|synchronized|throws|volatile)\b"
|
|
color constant.string ""[^"]*""
|
|
color constant.bool "\b(true|false|null)\b"
|
|
color constant.number "\b[0-9]+\b"
|
|
color comment "//.*"
|
|
color comment start="/\*" end="\*/"
|
|
color comment start="/\*\*" end="\*/"
|