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

242 lines
6.2 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",
]
# sh alias bug workaround
# bash
[language.bash]
aliases = []
[grammar.bash.source.git]
url = "https://github.com/tree-sitter/tree-sitter-bash"
pin = "f8fb3274f72a30896075585b32b0c54cad65c086"
[grammar.bash]
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", "bash.so"]
link_flags = ["-O3"]
[language.bash.queries.source.git]
url = "https://github.com/helix-editor/helix"
pin = "7275b7f85014aad7e15d4987ec4f2249572eecfb"
[language.bash.queries]
path = "runtime/queries/bash"
[language.sh]
grammar = "bash"
[language.sh.queries.source.git]
url = "https://github.com/helix-editor/helix"
pin = "7275b7f85014aad7e15d4987ec4f2249572eecfb"
[language.sh.queries]
path = "runtime/queries/bash"
# mermaid
[grammar.mermaid.source.git]
url = "https://github.com/monaqa/tree-sitter-mermaid"
pin = "d787c66276e7e95899230539f556e8b83ee16f6d"
[grammar.mermaid]
path = "src"
compile = "cc"
compile_args = ["-c", "-fpic", "../parser.c", "-I", ".."]
compile_flags = ["-O3"]
link = "cc"
link_args = ["-shared", "-fpic", "parser.o", "-o", "mermaid.so"]
link_flags = ["-O3"]
[language.mermaid.queries.source.git]
url = "https://github.com/helix-editor/helix"
pin = "036729211a94d058b835f5ee212ab15de83bc037"
[language.mermaid.queries]
path = "runtime/queries/mermaid"
# [language.typst]
# aliases = ["typ", "typc"]
# [grammar.typst.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"
# [grammar.typst]
# 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"]
[grammar.kdl.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"
[grammar.kdl]
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"]
# [grammar.jsonc.source.git]
# url = "https://github.com/tree-sitter/tree-sitter-json"
# pin = "73076754005a460947cafe8e03a8cf5fa4fa2938"
# [grammar.jsonc]
# 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
[grammar.ini.source.git]
url = "https://github.com/justinmk/tree-sitter-ini"
pin = "32b31863f222bf22eb43b07d4e9be8017e36fb31"
[grammar.ini]
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 = ["justfile"]
[grammar.just.source.git]
url = "https://github.com/poliorcetics/tree-sitter-just"
pin = "8d03cfdd7ab89ff76d935827de1b93450fa0ec0a"
[grammar.just]
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
[grammar.typescript.source.git]
url = "https://github.com/tree-sitter/tree-sitter-typescript"
pin = "b1bf4825d9eaa0f3bdeb1e52f099533328acfbdf"
[grammar.typescript]
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"
# taskwarrior
[grammar.task.source.git]
url = "https://github.com/alexanderbrevig/tree-sitter-task"
pin = "f2cb435c5dbf3ee19493e224485d977cb2d36d8b"
[grammar.task]
path = "src"
compile = "cc"
compile_args = ["-c", "-fpic", "../parser.c", "-I", ".."]
compile_flags = ["-O3"]
link = "cc"
link_args = ["-shared", "-fpic", "parser.o", "-o", "task.so"]
link_flags = ["-O3"]
[language.task.queries.source.git]
url = "https://github.com/helix-editor/helix"
pin = "aeded3c10b41508c2d044cb8bcf728f9b5138d89"
[language.task.queries]
path = "runtime/queries/task"
# bibtex
[grammar.bibtex.source.git]
url = "https://github.com/latex-lsp/tree-sitter-bibtex"
pin = "ccfd77db0ed799b6c22c214fe9d2937f47bc8b34"
[grammar.bibtex]
path = "src"
compile = "cc"
compile_args = ["-c", "-fpic", "../parser.c", "-I", ".."]
compile_flags = ["-O3"]
link = "cc"
link_args = ["-shared", "-fpic", "parser.o", "-o", "bibtex.so"]
link_flags = ["-O3"]
[language.bibtex.queries.source.git]
url = "https://github.com/helix-editor/helix"
pin = "fed3edcab70b31b416eb31c2ccf4a979c120d640"
[language.bibtex.queries]
path = "runtime/queries/bibtex"