AutoYADM commit: 2025-05-20 16:45:24
This commit is contained in:
parent
7fbf98e281
commit
725096cc8b
2 changed files with 61 additions and 0 deletions
60
.config/kak-tree-sitter/config.toml
Normal file
60
.config/kak-tree-sitter/config.toml
Normal file
|
@ -0,0 +1,60 @@
|
|||
[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"]
|
||||
|
||||
[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]
|
||||
# aliases = ["kdl"]
|
||||
|
||||
[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"]
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue