From: Steve Hancock Date: Sun, 3 Nov 2019 04:53:49 +0000 (-0700) Subject: eliminated [ as an alignment token X-Git-Tag: 20191203~10 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=b6641f4c0eb803cf8f28309209c0028d10c364f5;p=perltidy.git eliminated [ as an alignment token --- 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