Skip to content

Commit 33d95d2

Browse files
ckipp01Frederik Vestre
authored andcommitted
update scala roots (helix-editor#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
1 parent 892bb9d commit 33d95d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

languages.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -997,7 +997,7 @@ source = { git = "https://github.com/UserNobody14/tree-sitter-dart", rev = "2d7f
997997
[[language]]
998998
name = "scala"
999999
scope = "source.scala"
1000-
roots = ["build.sbt", "pom.xml"]
1000+
roots = ["build.sbt", "build.sc", "build.gradle", "pom.xml", ".scala-build"]
10011001
file-types = ["scala", "sbt", "sc"]
10021002
comment-token = "//"
10031003
indent = { tab-width = 2, unit = " " }

0 commit comments

Comments
 (0)