From b6641f4c0eb803cf8f28309209c0028d10c364f5 Mon Sep 17 00:00:00 2001 From: Steve Hancock Date: Sat, 2 Nov 2019 21:53:49 -0700 Subject: [PATCH] eliminated [ as an alignment token --- 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 27cece43..24a0cd2b 100644 --- a/lib/Perl/Tidy/Formatter.pm +++ b/lib/Perl/Tidy/Formatter.pm @@ -11602,7 +11602,7 @@ sub get_seqno { # align before one of these types.. # Note: add '.' after new vertical aligner is operational - elsif ( $is_vertical_alignment_type{$type} ) { + elsif ( $is_vertical_alignment_type{$type} && $token ne '[') { $alignment_type = $token; # Do not align a terminal token. Although it might -- 2.39.5