aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <leonerd@leonerd.org.uk>2022-02-21 15:30:53 +0000
committerStephan Seitz <stephan.seitz@fau.de>2022-02-22 14:13:48 +0100
commit3533721282669e945b62b3ae9c53d4c5ffe16c76 (patch)
tree5a8f7858aa9fdfa35c012a8f5974f977cb7cb6c8
parentAdd many perl keywords; highlight on those in preference to structural elements (diff)
downloadnvim-treesitter-3533721282669e945b62b3ae9c53d4c5ffe16c76.tar
nvim-treesitter-3533721282669e945b62b3ae9c53d4c5ffe16c76.tar.gz
nvim-treesitter-3533721282669e945b62b3ae9c53d4c5ffe16c76.tar.bz2
nvim-treesitter-3533721282669e945b62b3ae9c53d4c5ffe16c76.tar.lz
nvim-treesitter-3533721282669e945b62b3ae9c53d4c5ffe16c76.tar.xz
nvim-treesitter-3533721282669e945b62b3ae9c53d4c5ffe16c76.tar.zst
nvim-treesitter-3533721282669e945b62b3ae9c53d4c5ffe16c76.zip
Initial attempt at queries/perl/folds.scm
-rw-r--r--queries/perl/folds.scm12
1 files changed, 12 insertions, 0 deletions
diff --git a/queries/perl/folds.scm b/queries/perl/folds.scm
new file mode 100644
index 000000000..994d569bc
--- /dev/null
+++ b/queries/perl/folds.scm
@@ -0,0 +1,12 @@
+[
+ (function_definition)
+ (if_statement)
+ (unless_statement)
+ (while_statement)
+ (until_statement)
+ (for_statement_1)
+ (for_statement_2)
+ (foreach_statement)
+ (standalone_block)
+ (pod_statement)
+] @fold