]> git.donarmstrong.com Git - perltidy.git/commitdiff
update docs
authorSteve Hancock <perltidy@users.sourceforge.net>
Thu, 11 Jun 2020 14:12:31 +0000 (07:12 -0700)
committerSteve Hancock <perltidy@users.sourceforge.net>
Thu, 11 Jun 2020 14:12:31 +0000 (07:12 -0700)
CHANGES.md
bin/perltidy

index 4d765afea2139b59a4c11f810c55874cb03abdeb..28d4f9f6977a8d47a98d67bfc3dccf33dd0764dd 100644 (file)
@@ -2,6 +2,8 @@
 
 ## 2020 01 10.01
 
+    - Added support for Switch::Plain syntax, issue git #31.
+
     - Fixed minor problem where trailing 'unless' clauses were not 
       getting vertically aligned.
 
index f78b1fb433b0659a74c4673b1f9bf1327237e996..04c4363103a0739890cdd14a5db45cc8e7c7f685 100755 (executable)
@@ -551,6 +551,10 @@ a syntax error and the braces would not be balanced:
         $self->balance( $self->balance + $amount );
     }
 
+For one of the extensions, module Switch::Plain, colons are marked as labels.
+If you use this module, you may want to also use the B<--nooutdent-labels> flag
+to prevent lines such as 'default:' from being outdented.
+
 This flag is enabled by default but it can be deactivated with B<-nxs>.
 Probably the only reason to deactivate this flag is to generate more diagnostic
 messages when debugging a script.