feat(perl): update highlights and folds

This commit is contained in:
Paul Evans 2024-08-07 14:30:44 +01:00 committed by GitHub
parent 88aad97312
commit 3e0feeb062
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 35 additions and 3 deletions

View file

@ -2,20 +2,31 @@
(pod) @fold
; fold the block-typed package statements only
; fold the block-typed package and class statements only
(package_statement
(block)) @fold
(class_statement
(block)) @fold
[
(subroutine_declaration_statement)
(method_declaration_statement)
(conditional_statement)
(loop_statement)
(for_statement)
(cstyle_for_statement)
(block_statement)
(defer_statement)
(phaser_statement)
] @fold
(try_statement
(block) @fold)
(eval_expression
(block) @fold)
(anonymous_subroutine_expression) @fold
; perhaps folks want to fold these too?