Last active
November 18, 2021 05:06
-
-
Save lefou/4567763 to your computer and use it in GitHub Desktop.
Color theme for console editor nano, supporting Scala language.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Nano color theme for Scala. | |
## 2013, 2018, Tobias Roeser | |
## | |
syntax "scala" "\.(scala|sbt|sc)$" | |
color green "\<(new|this|transient)\>" | |
color green "\<(catch|do|else|finally|for|if|match|return|switch|throw|try|val|var|while)\>" | |
color green "\<(def|abstract|class|extends|final|import|package|private|protected|public|trait|volatile)\>" | |
color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)|\+|\-|\*|\/" | |
color red "@(\\.|[^(])*" | |
color yellow "\<(true|false|null)\>" | |
color cyan "//.*" | |
color cyan start="/\*" end="\*/" | |
color brightblue start="/\*\*" end="\*/" | |
color cyan start="/\*\*" end="\*/" | |
icolor brightred "\$\{?[0-9A-Z_!@#$*?-]+\}?" | |
color ,cyan "[[:space:]]+$" | |
color yellow ""[^"]*"" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Great.