From b36840ccf1aa1c81d44726b32fa829cd2c48ee68 Mon Sep 17 00:00:00 2001 From: Steve Hancock Date: Tue, 17 Aug 2021 18:45:28 -0700 Subject: [PATCH] minor optimization --- lib/Perl/Tidy/Formatter.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Perl/Tidy/Formatter.pm b/lib/Perl/Tidy/Formatter.pm index ae44e4dd..4d289980 100644 --- a/lib/Perl/Tidy/Formatter.pm +++ b/lib/Perl/Tidy/Formatter.pm @@ -19372,7 +19372,7 @@ sub send_lines_to_vertical_aligner { $type_end_next = $rLL->[$Kend_next]->[_TYPE_]; $ljump = $rLL->[$Kbeg_next]->[_LEVEL_] - $rLL->[$Kend]->[_LEVEL_]; } - else { + elsif ( !$is_block_comment ) { # Patch for git #51, a bare closing qw paren was not outdented # if the flag '-nodelete-old-newlines is set -- 2.39.5