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
This commit is contained in:
parent
7367abd6c6
commit
d7be5463c5
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue