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 Shekhinah Memmel committed Dec 11, 2022
1 parent fbeab76 commit 388cade
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 388cade

Please sign in to comment.