mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-17 14:27: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.
13 lines
720 B
Plaintext
13 lines
720 B
Plaintext
## Here is an example for Scala.
|
|
##
|
|
syntax "scala" "\.scala$"
|
|
color type "\<(boolean|byte|char|double|float|int|long|new|short|this|transient|void)\>"
|
|
color statement "\<(match|val|var|break|case|catch|continue|default|do|else|finally|for|if|return|switch|throw|try|while)\>"
|
|
color statement "\<(def|object|case|trait|lazy|implicit|abstract|class|extends|final|implements|import|instanceof|interface|native|package|private|protected|public|static|strictfp|super|synchronized|throws|volatile|sealed)\>"
|
|
color constant.string ""[^"]*""
|
|
color constant "\<(true|false|null)\>"
|
|
color comment "//.*"
|
|
color comment start="/\*" end="\*/"
|
|
color comment.bright start="/\*\*" end="\*/"
|
|
color indent-char.whitespace "[[:space:]]+$"
|