From 0067058291b715ca313680813c694751420e3faf Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Tue, 20 May 2025 20:32:39 -0400 Subject: [PATCH] AutoYADM commit: 2025-05-20 20:32:39 --- .config/kak-tree-sitter/config.toml | 45 +++++++++++++++++++++++++++++ .config/kak/kakrc | 3 +- 2 files changed, 46 insertions(+), 2 deletions(-) diff --git a/.config/kak-tree-sitter/config.toml b/.config/kak-tree-sitter/config.toml index 4122afdf..a02a2c25 100644 --- a/.config/kak-tree-sitter/config.toml +++ b/.config/kak-tree-sitter/config.toml @@ -58,3 +58,48 @@ link = "cc" link_args = ["-shared", "-fpic", "scanner.o", "parser.o", "-o", "kdl.so"] link_flags = ["-O3"] + +# markdown +[language.markdown.grammar.source.git] +url = "https://github.com/tree-sitter-grammars/tree-sitter-markdown" +pin = "efb075cbd57ce33f694c2bb264b99cdba0f31789" + +[language.markdown.grammar] +path = "tree-sitter-markdown/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", "markdown.so"] +link_flags = ["-O3"] + +# [language.markdown.queries.source.git] +# url = "https://git.sr.ht/~hadronized/kak-tree-sitter" +# pin = "1b783cb1a4db29aedb6bf715bf918d51767da31f" +[language.markdown.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "ebf96bd4692dfa02c6318b15b11f8a7bc127e7ca" + +[language.markdown.queries] +path = "runtime/queries/markdown" + +# markdown.inline +[language."markdown.inline".grammar.source.git] +url = "https://github.com/tree-sitter-grammars/tree-sitter-markdown" +pin = "efb075cbd57ce33f694c2bb264b99cdba0f31789" + +[language."markdown.inline".grammar] +path = "tree-sitter-markdown-inline/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", "markdown.inline.so"] +link_flags = ["-O3"] + +[language."markdown.inline".queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "ebf96bd4692dfa02c6318b15b11f8a7bc127e7ca" + +[language."markdown.inline".queries] +path = "runtime/queries/markdown.inline" diff --git a/.config/kak/kakrc b/.config/kak/kakrc index f482606a..8ff5b783 100644 --- a/.config/kak/kakrc +++ b/.config/kak/kakrc @@ -1,7 +1,6 @@ eval %sh{ kak-tree-sitter -vvvvv -dks --init $kak_session } -colorscheme mocha # evaluate-commands %sh{kak-popup init} -# colorscheme ashen +colorscheme ashen # colorscheme one-dark # colorscheme mocha require-module fishr