On Tue, Dec 06, 2022 at 03:46:23PM -0700, Vishal Verma wrote: > Add AlignConsecutiveMacros: true so that blocks of consecutive #defines > can be neatly aligned. > > Cc: Dan Williams <[email protected]> > Reported-by: Alison Schofield <[email protected]> > Signed-off-by: Vishal Verma <[email protected]> > ---
Thanks Vishal! Reviewed-by: Alison Schofield <[email protected]> > .clang-format | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/.clang-format b/.clang-format > index b6169e1..9ea49bf 100644 > --- a/.clang-format > +++ b/.clang-format > @@ -13,6 +13,7 @@ AccessModifierOffset: -4 > AlignAfterOpenBracket: Align > AlignConsecutiveAssignments: false > AlignConsecutiveDeclarations: false > +AlignConsecutiveMacros: true > #AlignEscapedNewlines: Left # Unknown to clang-format-4.0 > AlignOperands: true > AlignTrailingComments: false > > -- > 2.38.1
