Skip to content

Commit

Permalink
update scala roots (helix-editor#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 and Frederik Vestre committed Feb 6, 2023
1 parent 892bb9d commit 33d95d2
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 33d95d2

Please sign in to comment.