From a32d537d0ab61c29dca556d6ffe35431d9f4f1d1 Mon Sep 17 00:00:00 2001 From: Jaakko Paju Date: Mon, 8 Jan 2024 04:04:43 +0200 Subject: Add HOCON language support (#9203) * Add HOCON language support * Remove error query Co-authored-by: Michael Davis * Change include query * Fix query error --------- Co-authored-by: Michael Davis --- languages.toml | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'languages.toml') 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" } -- cgit v1.2.3-70-g09d2