-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow 0 spaces around binary operators inside more [] context.
Normally, the formatter pads 1 space around binary operators, but style guidance allows 0 in some contexts for compactness. We limit to 1 space max, and symmetrize the right-side spacing to follow the left-side spacing. You should see formatted results with "[a + b]" and "[a+b]". PiperOrigin-RevId: 329424493
- Loading branch information
Showing
3 changed files
with
128 additions
and
6 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
Oops, something went wrong.