kakoune: add kak-tree-sitter config for odin

This commit is contained in:
Lukasz Pankowski
2026-07-17 09:44:31 +02:00
parent 2820b395c2
commit d2b7671987

View File

@@ -7,6 +7,19 @@ pin = "aa71f63de226c5592dfbfc1f29949522d7c95fac"
url = "https://github.com/helix-editor/helix" url = "https://github.com/helix-editor/helix"
pin = "7275b7f85014aad7e15d4987ec4f2249572eecfb" pin = "7275b7f85014aad7e15d4987ec4f2249572eecfb"
# odin
[grammar.odin.source.git]
url = "https://github.com/tree-sitter-grammars/tree-sitter-odin"
pin = "d2ca8efb4487e156a60d5bd6db2598b872629403"
[grammar.odin]
compile_args = ["-c", "-fpic", "../scanner.c", "../parser.c", "-I", ".."]
link_args = ["-shared", "-fpic", "scanner.o", "parser.o", "-o", "odin.so"]
[language.odin.queries.source.git]
url = "https://github.com/helix-editor/helix"
pin = "7275b7f85014aad7e15d4987ec4f2249572eecfb"
# templ # templ
[grammar.templ.source.git] [grammar.templ.source.git]
url = "https://github.com/vrischmann/tree-sitter-templ" url = "https://github.com/vrischmann/tree-sitter-templ"