105 lines
3 KiB
TOML
105 lines
3 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]
|
|
# 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"]
|
|
|
|
|
|
# # markdown
|
|
# [language.markdown.grammar.source.git]
|
|
# url = "https://github.com/tree-sitter-grammars/tree-sitter-markdown"
|
|
# pin = "413285231ce8fa8b11e7074bbe265b48aa7277f9"
|
|
|
|
# [language.markdown.grammar]
|
|
# path = "tree-sitter-markdown/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", "markdown.so"]
|
|
# link_flags = ["-O3"]
|
|
|
|
# [language.markdown.queries.source.git]
|
|
# url = "https://git.sr.ht/~hadronized/kak-tree-sitter"
|
|
# pin = "1b783cb1a4db29aedb6bf715bf918d51767da31f"
|
|
# # [language.markdown.queries.source.git]
|
|
# # url = "https://github.com/helix-editor/helix"
|
|
# # pin = "ebf96bd4692dfa02c6318b15b11f8a7bc127e7ca"
|
|
|
|
# [language.markdown.queries]
|
|
# path = "runtime/queries/markdown"
|
|
|
|
# # markdown.inline
|
|
# [language."markdown.inline".grammar.source.git]
|
|
# url = "https://github.com/tree-sitter-grammars/tree-sitter-markdown"
|
|
# pin = "413285231ce8fa8b11e7074bbe265b48aa7277f9"
|
|
|
|
# [language."markdown.inline".grammar]
|
|
# path = "tree-sitter-markdown-inline/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", "markdown.inline.so"]
|
|
# link_flags = ["-O3"]
|
|
|
|
# [language."markdown.inline".queries.source.git]
|
|
# url = "https://github.com/helix-editor/helix"
|
|
# pin = "ebf96bd4692dfa02c6318b15b11f8a7bc127e7ca"
|
|
|
|
# [language."markdown.inline".queries]
|
|
# path = "runtime/queries/markdown.inline"
|