summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLemonBoy <thatlemon@gmail.com>2017-11-11 09:14:41 +0100
committerLemonBoy <thatlemon@gmail.com>2017-11-11 09:14:41 +0100
commit596fa6b51ed2ab6be80041684ad805f7b22256ac (patch)
tree4b5574ea802b91cb138ab00a01b3cad3a7c82954
parent56013367983b61d8ee4d2e905767ce50b25ffb82 (diff)
downloadirssi-596fa6b51ed2ab6be80041684ad805f7b22256ac.zip
Take into account Nei's suggestions
-rw-r--r--.clang-format11
1 files changed, 6 insertions, 5 deletions
diff --git a/.clang-format b/.clang-format
index 5501478f..295356df 100644
--- a/.clang-format
+++ b/.clang-format
@@ -1,4 +1,4 @@
-# IndentPPDirectives: None
+# IndentPPDirectives: AfterHash
# SpaceInParentheses: false
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: false
@@ -12,22 +12,23 @@ AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterReturnType: None
-AlwaysBreakBeforeMultilineStrings: true
+AlwaysBreakBeforeMultilineStrings: false
BinPackArguments: true
BinPackParameters: true
BreakBeforeBinaryOperators: None
-BreakBeforeBraces: Attach
-BreakBeforeTernaryOperators: true
+BreakBeforeBraces: Linux
+BreakBeforeTernaryOperators: false
ColumnLimit: 100
IndentCaseLabels: true
IndentWidth: 8
IndentWrappedFunctionNames: true
KeepEmptyLinesAtTheStartOfBlocks: false
Language: Cpp
+Cpp11BracedListStyle: false
MaxEmptyLinesToKeep: 1
PointerAlignment: Right
SortIncludes: true
-SpaceAfterCStyleCast: false
+SpaceAfterCStyleCast: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: false