From d7be5463c59a0983d6b507f2a35f6755a44d5c75 Mon Sep 17 00:00:00 2001 From: Chris Kipp Date: Fri, 11 Nov 2022 14:49:56 +0100 Subject: [PATCH] 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 --- languages.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/languages.toml b/languages.toml index 00eff068e..4013adb66 100644 --- a/languages.toml +++ b/languages.toml @@ -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 = " " }