mirror of
https://github.com/zyedidia/micro.git
synced 2026-02-06 23:20:18 +09:00
* Added title setting (Requires tcell pull!) and optimized tab display. * Added Clojure highlighting. * Changed tcell call to screen. * Fixed bad reference for getting Buffer name. * Yet another massive syntax overhaul * Tweaking and testing web syntax * More webdev goodies * Added html5 highlighting and strict html4 highlighting. * Documentation update
13 lines
725 B
Plaintext
13 lines
725 B
Plaintext
## Here is an example for Scala.
|
|
##
|
|
syntax "scala" "\.scala$"
|
|
color type "\b(boolean|byte|char|double|float|int|long|new|short|this|transient|void)\b"
|
|
color statement "\b(match|val|var|break|case|catch|continue|default|do|else|finally|for|if|return|switch|throw|try|while)\b"
|
|
color statement "\b(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)\b"
|
|
color constant.string ""[^"]*""
|
|
color constant.bool "\b(true|false|null)\b"
|
|
color comment "//.*"
|
|
color comment start="/\*" end="\*/"
|
|
color comment.bright start="/\*\*" end="\*/"
|
|
color indent-char.whitespace "[[:space:]]+$"
|