mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
feat: add typst queries
This commit is contained in:
parent
5d9e12ccf4
commit
c920b668f8
2 changed files with 14 additions and 0 deletions
3
queries/typst/folds.scm
Normal file
3
queries/typst/folds.scm
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
(set) @fold
|
||||
(let) @fold
|
||||
(call) @fold
|
||||
11
queries/typst/indents.scm
Normal file
11
queries/typst/indents.scm
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
[
|
||||
(set)
|
||||
(let)
|
||||
(call)
|
||||
] @indent.begin
|
||||
|
||||
[
|
||||
"]"
|
||||
"}"
|
||||
")"
|
||||
] @indent.branch @indent.end
|
||||
Loading…
Add table
Add a link
Reference in a new issue