Skip to content

Commit

Permalink
update scala roots (#4701)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ckipp01 authored Nov 11, 2022
1 parent 7367abd commit d7be546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = " " }
Expand Down

0 comments on commit d7be546

Please sign in to comment.