From ab21cd184674be552182e95f86aab1e3d1278791 Mon Sep 17 00:00:00 2001 From: ObserverOfTime Date: Tue, 15 Aug 2023 11:49:05 +0300 Subject: [PATCH] feat(perl)!: update textobjects --- queries/perl/textobjects.scm | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/queries/perl/textobjects.scm b/queries/perl/textobjects.scm index 3503a32f..543d591c 100644 --- a/queries/perl/textobjects.scm +++ b/queries/perl/textobjects.scm @@ -1,13 +1,5 @@ -(comments) @comment.outer +(comment) @comment.outer -(pattern_matcher (regex_pattern) @regex.inner) @regex.outer +(quoted_regexp) @regex.outer -((patter_matcher_m - (start_delimiter) @_start - (end_delimiter) @_end) @regex.outer - (#make-range! "regex.inner" @_start @_end)) - -((regex_pattern_qr - (start_delimiter) @_start - (end_delimiter) @_end) @regex.outer - (#make-range! "regex.inner" @_start @_end)) +(match_regexp) @regex.outer