]> git.donarmstrong.com Git - perltidy.git/commitdiff
Improve vertical alignment of '{' in sweep operation
authorSteve Hancock <perltidy@users.sourceforge.net>
Mon, 7 Dec 2020 00:41:33 +0000 (16:41 -0800)
committerSteve Hancock <perltidy@users.sourceforge.net>
Mon, 7 Dec 2020 00:41:33 +0000 (16:41 -0800)
lib/Perl/Tidy/VerticalAligner.pm

index 70838489a062d0ae246b4a5907e7799426e275c1..52e1cad87b7c3f6dfa1e7866e5ecde88559033b2 100644 (file)
@@ -2000,7 +2000,7 @@ sub sweep_left_to_right {
 
     BEGIN {
         my @q = qw(
-          => = ? if unless or ||
+          => = ? if unless or || {
         );
         push @q, ',';
         @is_good_alignment_token{@q} = (1) x scalar(@q);