kakoune: add kak-tree-sitter config for templ

This commit is contained in:
Lukasz Pankowski
2026-07-17 00:13:44 +02:00
parent b4ab641fb7
commit c5cd01cbc4
2 changed files with 14 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
# templ
[grammar.templ.source.git]
url = "https://github.com/vrischmann/tree-sitter-templ"
pin = "04bae7c82de2fcfec94254fef50f5f1c5924f5f5"
[grammar.templ]
compile_args = ["-c", "-fpic", "../scanner.c", "../parser.c", "-I", ".."]
link_args = ["-shared", "-fpic", "scanner.o", "parser.o", "-o", "templ.so"]
[language.templ.queries.source.git]
url = "https://github.com/helix-editor/helix"
pin = "7275b7f85014aad7e15d4987ec4f2249572eecfb"