Skip to content

v0.0-558-g7fbda68: Allow 0 spaces around binary operators inside more [] context.

Compare
Choose a tag to compare
@symbiflow-robot symbiflow-robot released this 01 Sep 17:35
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