From 7ab81c9e56a2fc773e8e54ceaa56c8a904e9212c Mon Sep 17 00:00:00 2001 From: Lassi Kortela Date: Fri, 9 Aug 2019 13:57:49 +0300 Subject: [PATCH] Change some more clang-format settings to my liking --- .clang-format | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.clang-format b/.clang-format index 67b9bd0..d6d61cf 100644 --- a/.clang-format +++ b/.clang-format @@ -4,14 +4,11 @@ AlignAfterOpenBracket: Align AlignEscapedNewlines: Left AlignOperands: true AlignTrailingComments: true -AllowShortBlocksOnASingleLine: true -AllowShortCaseLabelsOnASingleLine: true -AllowShortIfStatementsOnASingleLine: true -AllowShortLoopsOnASingleLine: true BreakBeforeBinaryOperators: None BreakBeforeBraces: Linux ContinuationIndentWidth: 0 -DerivePointerAlignment: true -MaxEmptyLinesToKeep: 2 +PointerAlignment: Right +MaxEmptyLinesToKeep: 1 SortIncludes: false SpacesBeforeTrailingComments: 2 +ColumnLimit: 78