dotfiles/.config/kak-tree-sitter/config.toml

142 lines
3.8 KiB
TOML

[highlight]
groups = [
"punctuation.bracket",
"punctuation.delimiter",
"constant.builtin",
"constant.character.escape",
"constant.numeric",
"string.special.url",
"comment.block.documentation",
"keyword.operator",
"markup.list",
]
[language.typst]
aliases = ["typ", "typc"]
[language.typst.grammar.source.git]
url = "https://github.com/uben0/tree-sitter-typst"
pin = "13863ddcbaa7b68ee6221cea2e3143415e64aea4"
[language.typst.queries.source.git]
url = "https://github.com/helix-editor/helix"
pin = "7275b7f85014aad7e15d4987ec4f2249572eecfb"
[language.typst.queries]
path = "runtime/queries/typst"
[language.typst.grammar]
path = "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", "typst.so"]
link_flags = ["-O3"]
[language.kdl.grammar.source.git]
url = "https://github.com/amaanq/tree-sitter-kdl"
pin = "3ca569b9f9af43593c24f9e7a21f02f43a13bb88"
[language.kdl.queries.source.git]
url = "https://github.com/helix-editor/helix"
pin = "5c325fe342c26f31df495ec478a1d427270e8e42"
[language.kdl.queries]
path = "runtime/queries/kdl"
[language.kdl.grammar]
path = "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", "kdl.so"]
link_flags = ["-O3"]
[language.jsonc.grammar.source.git]
url = "https://github.com/tree-sitter/tree-sitter-json"
pin = "73076754005a460947cafe8e03a8cf5fa4fa2938"
[language.jsonc.grammar]
path = "src"
compile = "cc"
compile_args = ["-c", "-fpic", "../parser.c", "-I", ".."]
compile_flags = ["-O3"]
link = "cc"
link_args = ["-shared", "-fpic", "parser.o", "-o", "jsonc.so"]
link_flags = ["-O3"]
[language.jsonc.queries.source.git]
url = "https://github.com/helix-editor/helix"
pin = "7275b7f85014aad7e15d4987ec4f2249572eecfb"
[language.jsonc.queries]
path = "runtime/queries/jsonc"
# ini
[language.ini.grammar.source.git]
url = "https://github.com/justinmk/tree-sitter-ini"
pin = "32b31863f222bf22eb43b07d4e9be8017e36fb31"
[language.ini.grammar]
path = "src"
compile = "cc"
compile_args = ["-c", "-fpic", "../parser.c", "-I", ".."]
compile_flags = ["-O3"]
link = "cc"
link_args = ["-shared", "-fpic", "parser.o", "-o", "ini.so"]
link_flags = ["-O3"]
[language.ini.queries.source.git]
url = "https://github.com/helix-editor/helix"
pin = "7275b7f85014aad7e15d4987ec4f2249572eecfb"
[language.ini.queries]
path = "runtime/queries/ini"
[language.just]
aliases = ["just", "justfile"]
[language.just.grammar.source.git]
url = "https://github.com/poliorcetics/tree-sitter-just"
pin = "8d03cfdd7ab89ff76d935827de1b93450fa0ec0a"
[language.just.grammar]
path = "src"
compile = "cc"
compile_args = ["-c", "-fpic", "../parser.c", "-I", ".."]
compile_flags = ["-O3"]
link = "cc"
link_args = ["-shared", "-fpic", "parser.o", "-o", "just.so"]
link_flags = ["-O3"]
[language.just.queries.source.git]
url = "https://github.com/helix-editor/helix"
pin = "f6878f62f74430cff188e7978d06c5ed143179e9"
[language.just.queries]
path = "runtime/queries/just"
# typescript
[language.typescript.grammar.source.git]
url = "https://github.com/tree-sitter/tree-sitter-typescript"
pin = "b1bf4825d9eaa0f3bdeb1e52f099533328acfbdf"
[language.typescript.grammar]
path = "typescript/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", "typescript.so"]
link_flags = ["-O3"]
[language.typescript.queries.source.git]
url = "https://git.sr.ht/~ficd/kak-tree-sitter"
pin = "d8afa2ddcf2f97d29f495eccc08ad9ccff8d9199"
[language.typescript.queries]
path = "runtime/queries/typescript"