summaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
authorChris Kipp2022-11-11 13:49:56 +0000
committerGitHub2022-11-11 13:49:56 +0000
commitd7be5463c59a0983d6b507f2a35f6755a44d5c75 (patch)
tree023f33a40e38c6bee5a6ecb2463ad731d73556c9 /languages.toml
parent7367abd6c6f764b45802613ca9c46e921b4394e6 (diff)
update scala roots (#4701)
This adds in a couple more roots that are common in Scala. - `build.sc` which is used in Mill - `build.gradle` for Scala Gradle projects - `.scala-build` for scala-cli projects
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml
index 00eff068..4013adb6 100644
--- a/languages.toml
+++ b/languages.toml
@@ -997,7 +997,7 @@ source = { git = "https://github.com/UserNobody14/tree-sitter-dart", rev = "2d7f
[[language]]
name = "scala"
scope = "source.scala"
-roots = ["build.sbt", "pom.xml"]
+roots = ["build.sbt", "build.sc", "build.gradle", "pom.xml", ".scala-build"]
file-types = ["scala", "sbt", "sc"]
comment-token = "//"
indent = { tab-width = 2, unit = " " }