diff --git a/kakoune/.config/kak-tree-sitter/config.toml b/kakoune/.config/kak-tree-sitter/config.toml index e50b2df..4d01d2b 100644 --- a/kakoune/.config/kak-tree-sitter/config.toml +++ b/kakoune/.config/kak-tree-sitter/config.toml @@ -7,6 +7,19 @@ pin = "aa71f63de226c5592dfbfc1f29949522d7c95fac" url = "https://github.com/helix-editor/helix" 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 [grammar.templ.source.git] url = "https://github.com/vrischmann/tree-sitter-templ"