From: Steve Hancock <perltidy@users.sourceforge.net>
Date: Sat, 23 May 2020 18:07:00 +0000 (-0700)
Subject: removed '{' as list alignment
X-Git-Tag: 20200619~26
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=4b573fe127f30011dd6e0b63f38d912cc0fc7d40;p=perltidy.git

removed '{' as list alignment
---

diff --git a/lib/Perl/Tidy/VerticalAligner.pm b/lib/Perl/Tidy/VerticalAligner.pm
index 31325c7b..f3cea148 100644
--- a/lib/Perl/Tidy/VerticalAligner.pm
+++ b/lib/Perl/Tidy/VerticalAligner.pm
@@ -991,7 +991,7 @@ sub decide_if_list {
         my $jmax      = $line->get_jmax();
 
         foreach ( 1 .. $jmax - 2 ) {
-            if ( $rtokens->[$_] !~ /^(\,|=>|\{)/ ) {
+            if ( $rtokens->[$_] !~ /^(\,|=>)/ ) {
                 $list_type = "";
                 last;
             }