Unnamed repository; edit this file 'description' to name the repository.
Fix language configuration for .conf files (#12156)
Jaakko Paju 2024-12-02
parent 191b0f0 · commit b1bdbc6
-rw-r--r--languages.toml6
1 files changed, 5 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml
index df0a29cf..4bc98034 100644
--- a/languages.toml
+++ b/languages.toml
@@ -3463,7 +3463,11 @@ source = { git = "https://github.com/urbit-pilled/tree-sitter-hoon", rev = "1d5d
[[language]]
name = "hocon"
scope = "source.conf"
-file-types = ["conf"]
+file-types = [
+ { glob = "**/src/*/resources/**/*.conf" },
+ { glob = "*scalafmt*.conf" },
+ { glob = "*scalafix*.conf" },
+]
comment-token = "#"
auto-format = true
indent = { tab-width = 2, unit = " " }