summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRusty Wagner <rusty.wagner@gmail.com>2022-02-02 17:07:07 -0500
committerRusty Wagner <rusty.wagner@gmail.com>2022-02-02 17:07:07 -0500
commite4ae9b69e3cbd8c74023f2b1b2a41dcc0bae5f74 (patch)
tree2b6958dac4b08d8ffc26a65c0b635ef21a36a293
parent42e215b4693dff5dd2c4cad9f6f8a059a29d1740 (diff)
Significantly reduce cases of awkward indentation, use AlginWithSpaces instead of ForContinuationAndIndentation
-rw-r--r--.clang-format5
1 files 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
...