summaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
authorJaakko Paju2024-01-08 02:04:43 +0000
committerGitHub2024-01-08 02:04:43 +0000
commita32d537d0ab61c29dca556d6ffe35431d9f4f1d1 (patch)
treeaddf933a64dc7a644015987ff9d939dfc5dfedc6 /languages.toml
parentf8ae2bc61b0fee8b2820c07f10f25ee23c13af7f (diff)
Add HOCON language support (#9203)
* Add HOCON language support * Remove error query Co-authored-by: Michael Davis <mcarsondavis@gmail.com> * Change include query * Fix query error --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml12
1 files changed, 12 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index a013dab8..77ed0eb6 100644
--- a/languages.toml
+++ b/languages.toml
@@ -3013,3 +3013,15 @@ file-types = ["janet"]
comment-token = "#"
indent = { tab-width = 2, unit = " " }
grammar = "clojure"
+
+[[language]]
+name = "hocon"
+scope = "source.conf"
+file-types = ["conf"]
+comment-token = "#"
+auto-format = true
+indent = { tab-width = 2, unit = " " }
+
+[[grammar]]
+name = "hocon"
+source = { git = "https://github.com/antosha417/tree-sitter-hocon", rev = "c390f10519ae69fdb03b3e5764f5592fb6924bcc" }