aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Hartmann <hartan@7x.de>2025-02-16 08:31:40 +0100
committerChristian Clason <ch.clason+github@icloud.com>2025-02-25 11:18:08 +0100
commit3b013b9ed42fcb15dc8b4416854ceaaab69f6c87 (patch)
tree403dd31dd6b92759527439b2de357b9904a48a52
parentfeat(just): improve attribute highlights (diff)
downloadnvim-treesitter-3b013b9ed42fcb15dc8b4416854ceaaab69f6c87.tar
nvim-treesitter-3b013b9ed42fcb15dc8b4416854ceaaab69f6c87.tar.gz
nvim-treesitter-3b013b9ed42fcb15dc8b4416854ceaaab69f6c87.tar.bz2
nvim-treesitter-3b013b9ed42fcb15dc8b4416854ceaaab69f6c87.tar.lz
nvim-treesitter-3b013b9ed42fcb15dc8b4416854ceaaab69f6c87.tar.xz
nvim-treesitter-3b013b9ed42fcb15dc8b4416854ceaaab69f6c87.tar.zst
nvim-treesitter-3b013b9ed42fcb15dc8b4416854ceaaab69f6c87.zip
feat(typst): add more folds
for the following language constructs: - 'for' blocks - 'if/else' expressions - raw markup blocks (```) - `content`
-rw-r--r--queries/typst/folds.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/queries/typst/folds.scm b/queries/typst/folds.scm
index f2c13cc2c..ef0ec7956 100644
--- a/queries/typst/folds.scm
+++ b/queries/typst/folds.scm
@@ -4,4 +4,8 @@
(show)
(call)
(section)
+ (for)
+ (branch)
+ (content)
+ (raw_blck)
] @fold