From ad482f80a8e64b0c45985b82e9e0525b42eb07ee Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Thu, 19 Jun 2025 18:10:14 -0400 Subject: [PATCH] AutoYADM commit: 2025-06-19 18:10:14 --- .config/kak-tree-sitter/config.toml | 35 +++++++++++++++-------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/.config/kak-tree-sitter/config.toml b/.config/kak-tree-sitter/config.toml index 5c14208b..031324fe 100644 --- a/.config/kak-tree-sitter/config.toml +++ b/.config/kak-tree-sitter/config.toml @@ -184,24 +184,25 @@ pin = "fed3edcab70b31b416eb31c2ccf4a979c120d640" [language.bibtex.queries] path = "runtime/queries/bibtex" -# man +# mermaid -# [language.man.grammar.source.git] -# url = "https://github.com/ribru17/tree-sitter-man" -# pin = "e332ea95d5c921d1108a46d1b2b0f017079e1fd8" +[language.mermaid.grammar.source.git] +url = "https://github.com/monaqa/tree-sitter-mermaid" +pin = "d787c66276e7e95899230539f556e8b83ee16f6d" -# [language.man.grammar] -# path = "src" -# compile = "cc" -# compile_args = ["-c", "-fpic", "../parser.c", "-I", ".."] -# compile_flags = ["-O3"] -# link = "cc" -# link_args = ["-shared", "-fpic", "parser.o", "-o", "man.so"] -# link_flags = ["-O3"] -# [language.man.queries.source.git] -# url = "https://github.com/ribru17/tree-sitter-man" -# pin = "e332ea95d5c921d1108a46d1b2b0f017079e1fd8" +[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.man.queries] -# path = "queries/man" +[language.mermaid.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "036729211a94d058b835f5ee212ab15de83bc037" + +[language.mermaid.queries] +path = "runtime/queries/mermaid"