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
pull/4682/head
Chris Kipp 2 years ago committed by GitHub
parent 7367abd6c6
commit d7be5463c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -997,7 +997,7 @@ source = { git = "https://github.com/UserNobody14/tree-sitter-dart", rev = "2d7f
[[language]] [[language]]
name = "scala" name = "scala"
scope = "source.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"] file-types = ["scala", "sbt", "sc"]
comment-token = "//" comment-token = "//"
indent = { tab-width = 2, unit = " " } indent = { tab-width = 2, unit = " " }

Loading…
Cancel
Save