-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't change the indent for parentheses-enclosed expressions (#1410)
* Don't change the indent for parentheses-enclosed expressions ### What's done: * From now on, parentheses (`LPAR`/`RPAR`) don't increment or decrement the indent unless they're a part of a function declaration or a function call. * Parentheses which just enclose an expression don't affect the indent at all. * The only exclusion to the above rule is an `LPAR` immediately followed by a newline (in this special case the indent is still incremented). * This fixes #1409.
- Loading branch information
1 parent
e9476dc
commit 1445b6e
Showing
6 changed files
with
424 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.