helix-mirror/runtime/queries/perl/textobjects.scm
Jesse Luehrs 81d6d3ff0e
re-add indent and textobject queries for perl (#7947)
* bump tree-sitter-perl version

need some grammar tweaks for the indent queries to function properly

* add indent queries for perl

* add textobject queries for perl
2023-09-10 21:27:04 +02:00

15 lines
332 B
Scheme

(subroutine_declaration_statement
body: (_) @function.inside) @function.around
(anonymous_subroutine_expression
body: (_) @function.inside) @function.around
(package_statement) @class.around
(package_statement
(block) @class.inside)
(list_expression
(_) @parameter.inside)
(comment) @comment.around
(pod) @comment.around