From e4ae9b69e3cbd8c74023f2b1b2a41dcc0bae5f74 Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Wed, 2 Feb 2022 17:07:07 -0500 Subject: Significantly reduce cases of awkward indentation, use AlginWithSpaces instead of ForContinuationAndIndentation --- .clang-format | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.clang-format b/.clang-format index 6699e3ba..b11867fb 100644 --- a/.clang-format +++ b/.clang-format @@ -5,7 +5,7 @@ AlignConsecutiveMacros: 'true' AlignConsecutiveAssignments: 'false' AlignConsecutiveDeclarations: 'false' AlignEscapedNewlines: DontAlign -AlignOperands: 'true' +AlignOperands: 'false' AlignTrailingComments: 'true' AllowAllArgumentsOnNextLine: 'true' AllowAllConstructorInitializersOnNextLine: 'false' @@ -59,6 +59,7 @@ IndentWrappedFunctionNames: 'true' KeepEmptyLinesAtTheStartOfBlocks: 'false' MaxEmptyLinesToKeep: '2' NamespaceIndentation: All +PenaltyIndentedWhitespace: 100 PointerAlignment: Left SortIncludes: 'false' SortUsingDeclarations: 'true' @@ -80,6 +81,6 @@ SpacesInParentheses: 'false' SpacesInSquareBrackets: 'false' IndentWidth: '4' TabWidth: '4' -UseTab: ForContinuationAndIndentation +UseTab: AlignWithSpaces ... -- cgit v1.3.1