From b268f7cfbf92468f8c0044bde77927d47ad62224 Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Thu, 19 Jun 2025 18:30:14 -0400 Subject: [PATCH] AutoYADM commit: 2025-06-19 18:30:14 --- .config/kak-tree-sitter/config.toml | 7 +- .config/kak-tree-sitter/config.toml.old | 207 ++++++++++++++++++++++++ 2 files changed, 209 insertions(+), 5 deletions(-) create mode 100644 .config/kak-tree-sitter/config.toml.old diff --git a/.config/kak-tree-sitter/config.toml b/.config/kak-tree-sitter/config.toml index 2055074d..c15b0c5d 100644 --- a/.config/kak-tree-sitter/config.toml +++ b/.config/kak-tree-sitter/config.toml @@ -14,14 +14,11 @@ groups = [ # mermaid -[language.mermaid] -grammar = "mermaid" - -[grammar.mermaid.source.git] +[language.mermaid.grammar.source.git] url = "https://github.com/monaqa/tree-sitter-mermaid" pin = "d787c66276e7e95899230539f556e8b83ee16f6d" -[grammar.mermaid] +[language.mermaid.grammar] path = "src" compile = "cc" compile_args = ["-c", "-fpic", "../parser.c", "-I", ".."] diff --git a/.config/kak-tree-sitter/config.toml.old b/.config/kak-tree-sitter/config.toml.old new file mode 100644 index 00000000..c15b0c5d --- /dev/null +++ b/.config/kak-tree-sitter/config.toml.old @@ -0,0 +1,207 @@ +[highlight] + +groups = [ + "punctuation.bracket", + "punctuation.delimiter", + "constant.builtin", + "constant.character.escape", + "constant.numeric", + "string.special.url", + "comment.block.documentation", + "keyword.operator", + "markup.list", +] + +# mermaid + +[language.mermaid.grammar.source.git] +url = "https://github.com/monaqa/tree-sitter-mermaid" +pin = "d787c66276e7e95899230539f556e8b83ee16f6d" + +[language.mermaid.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "parser.o", "-o", "mermaid.so"] +link_flags = ["-O3"] + +[language.mermaid.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "036729211a94d058b835f5ee212ab15de83bc037" + +[language.mermaid.queries] +path = "runtime/queries/mermaid" + +[language.typst] +aliases = ["typ", "typc"] + +[language.typst.grammar.source.git] +url = "https://github.com/uben0/tree-sitter-typst" +pin = "13863ddcbaa7b68ee6221cea2e3143415e64aea4" + +[language.typst.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "7275b7f85014aad7e15d4987ec4f2249572eecfb" + +[language.typst.queries] +path = "runtime/queries/typst" + +[language.typst.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../scanner.c", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "scanner.o", "parser.o", "-o", "typst.so"] +link_flags = ["-O3"] + +[language.kdl.grammar.source.git] +url = "https://github.com/amaanq/tree-sitter-kdl" +pin = "3ca569b9f9af43593c24f9e7a21f02f43a13bb88" + +[language.kdl.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "5c325fe342c26f31df495ec478a1d427270e8e42" + +[language.kdl.queries] +path = "runtime/queries/kdl" + +[language.kdl.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../scanner.c", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +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" + +# ini +[language.ini.grammar.source.git] +url = "https://github.com/justinmk/tree-sitter-ini" +pin = "32b31863f222bf22eb43b07d4e9be8017e36fb31" + +[language.ini.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "parser.o", "-o", "ini.so"] +link_flags = ["-O3"] + +[language.ini.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "7275b7f85014aad7e15d4987ec4f2249572eecfb" + +[language.ini.queries] +path = "runtime/queries/ini" + +[language.just] +aliases = ["justfile"] + +[language.just.grammar.source.git] +url = "https://github.com/poliorcetics/tree-sitter-just" +pin = "8d03cfdd7ab89ff76d935827de1b93450fa0ec0a" + +[language.just.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "parser.o", "-o", "just.so"] +link_flags = ["-O3"] + +[language.just.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "f6878f62f74430cff188e7978d06c5ed143179e9" + +[language.just.queries] +path = "runtime/queries/just" + +# typescript +[language.typescript.grammar.source.git] +url = "https://github.com/tree-sitter/tree-sitter-typescript" +pin = "b1bf4825d9eaa0f3bdeb1e52f099533328acfbdf" + +[language.typescript.grammar] +path = "typescript/src" +compile = "cc" +compile_args = ["-c", "-fpic", "../scanner.c", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "scanner.o", "parser.o", "-o", "typescript.so"] +link_flags = ["-O3"] + +[language.typescript.queries.source.git] +url = "https://git.sr.ht/~ficd/kak-tree-sitter" +pin = "d8afa2ddcf2f97d29f495eccc08ad9ccff8d9199" + +[language.typescript.queries] +path = "runtime/queries/typescript" + +# taskwarrior + +[language.task.grammar.source.git] +url = "https://github.com/alexanderbrevig/tree-sitter-task" +pin = "f2cb435c5dbf3ee19493e224485d977cb2d36d8b" + +[language.task.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "parser.o", "-o", "task.so"] +link_flags = ["-O3"] + +[language.task.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "aeded3c10b41508c2d044cb8bcf728f9b5138d89" + +[language.task.queries] +path = "runtime/queries/task" + +# bibtex + +[language.bibtex.grammar.source.git] +url = "https://github.com/latex-lsp/tree-sitter-bibtex" +pin = "ccfd77db0ed799b6c22c214fe9d2937f47bc8b34" + +[language.bibtex.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "parser.o", "-o", "bibtex.so"] +link_flags = ["-O3"] + +[language.bibtex.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "fed3edcab70b31b416eb31c2ccf4a979c120d640" + +[language.bibtex.queries] +path = "runtime/queries/bibtex"