From 9d7132e37a61ba1d40eaa11890925a6727274108 Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Fri, 23 May 2025 15:15:15 -0400 Subject: [PATCH] AutoYADM commit: 2025-05-23 15:15:15 --- .config/kak-tree-sitter/config.toml | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/.config/kak-tree-sitter/config.toml b/.config/kak-tree-sitter/config.toml index 4122afdf..dc70e143 100644 --- a/.config/kak-tree-sitter/config.toml +++ b/.config/kak-tree-sitter/config.toml @@ -35,9 +35,6 @@ link = "cc" link_args = ["-shared", "-fpic", "scanner.o", "parser.o", "-o", "typst.so"] link_flags = ["-O3"] -# [language.kdl] -# aliases = ["kdl"] - [language.kdl.grammar.source.git] url = "https://github.com/amaanq/tree-sitter-kdl" pin = "3ca569b9f9af43593c24f9e7a21f02f43a13bb88" @@ -58,3 +55,22 @@ link = "cc" link_args = ["-shared", "-fpic", "scanner.o", "parser.o", "-o", "kdl.so"] link_flags = ["-O3"] +[language.jsonc.grammar.source.git] +url = "https://github.com/tree-sitter/tree-sitter-json" +pin = "73076754005a460947cafe8e03a8cf5fa4fa2938" + +[language.jsonc.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "parser.o", "-o", "jsonc.so"] +link_flags = ["-O3"] + +[language.jsonc.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "7275b7f85014aad7e15d4987ec4f2249572eecfb" + +[language.jsonc.queries] +path = "runtime/queries/jsonc"