feat: add typst queries

This commit is contained in:
Raafat Turki 2024-02-16 17:31:02 +03:00 committed by Amaan Qureshi
parent 5d9e12ccf4
commit c920b668f8
2 changed files with 14 additions and 0 deletions

3
queries/typst/folds.scm Normal file
View file

@ -0,0 +1,3 @@
(set) @fold
(let) @fold
(call) @fold

11
queries/typst/indents.scm Normal file
View file

@ -0,0 +1,11 @@
[
(set)
(let)
(call)
] @indent.begin
[
"]"
"}"
")"
] @indent.branch @indent.end