aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzetashift <rskaraya@gmail.com>2024-11-11 20:01:27 +0100
committerChristian Clason <ch.clason+github@icloud.com>2024-11-13 09:09:53 +0100
commit88ed26a7e6c22f1c3069f45673cfb4e06691a261 (patch)
tree817620cedb32ee5b46bc5df9237944f75f90600c
parentrefactor(unison): update to latest treesitter grammar (diff)
downloadnvim-treesitter-88ed26a7e6c22f1c3069f45673cfb4e06691a261.tar
nvim-treesitter-88ed26a7e6c22f1c3069f45673cfb4e06691a261.tar.gz
nvim-treesitter-88ed26a7e6c22f1c3069f45673cfb4e06691a261.tar.bz2
nvim-treesitter-88ed26a7e6c22f1c3069f45673cfb4e06691a261.tar.lz
nvim-treesitter-88ed26a7e6c22f1c3069f45673cfb4e06691a261.tar.xz
nvim-treesitter-88ed26a7e6c22f1c3069f45673cfb4e06691a261.tar.zst
nvim-treesitter-88ed26a7e6c22f1c3069f45673cfb4e06691a261.zip
feat(unison): add fold queries
-rw-r--r--queries/unison/folds.scm10
1 files changed, 10 insertions, 0 deletions
diff --git a/queries/unison/folds.scm b/queries/unison/folds.scm
new file mode 100644
index 000000000..3bfc585c3
--- /dev/null
+++ b/queries/unison/folds.scm
@@ -0,0 +1,10 @@
+[
+ (fold)
+ (type_declaration)
+ (term_declaration)
+ (literal_list)
+ (exp_if)
+ (pattern)
+ (parenthesized_or_tuple_pattern)
+ (delay_block)
+] @fold