]> git.donarmstrong.com Git - perltidy.git/commitdiff
removed '{' as list alignment
authorSteve Hancock <perltidy@users.sourceforge.net>
Sat, 23 May 2020 18:07:00 +0000 (11:07 -0700)
committerSteve Hancock <perltidy@users.sourceforge.net>
Sat, 23 May 2020 18:07:00 +0000 (11:07 -0700)
lib/Perl/Tidy/VerticalAligner.pm

index 31325c7bf167bbbf9ccf75a298bee7dc0b1f1ac5..f3cea1486ebfc208fa0fdbcda99d61d3fc580ac0 100644 (file)
@@ -991,7 +991,7 @@ sub decide_if_list {
         my $jmax      = $line->get_jmax();
 
         foreach ( 1 .. $jmax - 2 ) {
-            if ( $rtokens->[$_] !~ /^(\,|=>|\{)/ ) {
+            if ( $rtokens->[$_] !~ /^(\,|=>)/ ) {
                 $list_type = "";
                 last;
             }