aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Mousset2022-01-14 06:37:59 +0000
committerGitHub2022-01-14 06:37:59 +0000
commitf80da7b4dee2a0531785dab0779164f6f2c2ee8a (patch)
tree19feea0b30ae2c377a8b2514ff7eb9ca2fcd7962
parent85cf2648a2a5a73fb603244a0abf7de2ea8a0849 (diff)
Add pom.xml as maven root directory marker (#1496)
-rw-r--r--languages.toml4
1 files changed, 2 insertions, 2 deletions
diff --git a/languages.toml b/languages.toml
index 0a19bb04..b305dcde 100644
--- a/languages.toml
+++ b/languages.toml
@@ -270,7 +270,7 @@ name = "java"
scope = "source.java"
injection-regex = "java"
file-types = ["java"]
-roots = []
+roots = ["pom.xml"]
indent = { tab-width = 4, unit = " " }
[[language]]
@@ -497,7 +497,7 @@ indent = { tab-width = 2, unit = " " }
[[language]]
name = "scala"
scope = "source.scala"
-roots = ["build.sbt"]
+roots = ["build.sbt", "pom.xml"]
file-types = ["scala", "sbt"]
comment-token = "//"
indent = { tab-width = 2, unit = " " }