diff options
author | Oliver Hechtl | 2021-12-18 04:40:34 +0000 |
---|---|---|
committer | GitHub | 2021-12-18 04:40:34 +0000 |
commit | 0683f0a20ae1c1ce3e7788e303c468767381e6fd (patch) | |
tree | 8841bf08164e81462bae031be25958a8ad5d9212 /languages.toml | |
parent | 3ef115d4203fab93f7efe4f65d8dd63cc4535b91 (diff) |
Add scala syntax highlights (#1278)
* add partial scala syntax highlights
* ran cargo xtask docgen
* updated tree-sitter-scala, fixed highlights
* fix comments
* move identifier to the end of the highlights
* add indents
Diffstat (limited to 'languages.toml')
-rw-r--r-- | languages.toml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml index abb94acf..88882f3e 100644 --- a/languages.toml +++ b/languages.toml @@ -430,3 +430,12 @@ file-types = ["md"] roots = [] indent = { tab-width = 2, unit = " " } + +[[language]] +name = "scala" +scope = "source.scala" +roots = ["build.sbt"] +file-types = ["scala", "sbt"] +comment-token = "//" +indent = { tab-width = 2, unit = " " } +language-server = { command = "metals" } |