2014-08-01 19:29:24 -04:00
## Here is an example for Scala.
##
2019-04-15 17:50:31 +02:00
syntax "Scala" "\.(scala|sc|sbt)$"
2014-08-01 19:29:24 -04:00
color green "\<(boolean|byte|char|double|float|int|long|new|short|this|transient|void)\>"
color red "\<(match|val|var|break|case|catch|continue|default|do|else|finally|for|if|return|switch|throw|try|while)\>"
2016-01-05 17:39:28 +02:00
color cyan "\<(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)\>"
2014-08-01 19:29:24 -04:00
color red ""[^"]*""
color yellow "\<(true|false|null)\>"
2019-12-02 18:58:54 +05:30
color blue "^\s*//.*"
2019-12-16 02:27:35 +05:30
color blue start="^\s*/\*" end="\*/"
2014-08-01 19:29:24 -04:00
color brightblue start="/\*\*" end="\*/"
color ,green "[[:space:]]+$"