Files
zyedidia.micro/runtime/syntax/scala.micro
CaptainMcClellan d949b58fc0 Legacy syntax overhaul 2 (#577)
* 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
2017-03-03 11:47:03 -05:00

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:]]+$"