summaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-09-11 15:45:26 +0500
committeruntodesu <kirill@untode.su>2025-09-11 15:45:26 +0500
commitb8bbc54c5c920aff1ff1b45a693f50d6d96d61c8 (patch)
tree8b2903b313a71f8851705be400fc3e0a8317028f /.clang-format
parenta6ea7b7bbc66327cc2a957496f65dcfab5361cee (diff)
downloadvoxelius-b8bbc54c5c920aff1ff1b45a693f50d6d96d61c8.tar.bz2
voxelius-b8bbc54c5c920aff1ff1b45a693f50d6d96d61c8.zip
Revise style: split include groups
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format9
1 files changed, 5 insertions, 4 deletions
diff --git a/.clang-format b/.clang-format
index 499fbac..bcb9014 100644
--- a/.clang-format
+++ b/.clang-format
@@ -30,9 +30,11 @@ AlignConsecutiveMacros:
AlignFunctionPointers: false
PadOperators: true
AlignEscapedNewlines: Left
-AlignOperands: true
-PenaltyBreakAssignment: 21
+AlignOperands: false
+PenaltyBreakAssignment: 50
PenaltyBreakBeforeFirstCallParameter: 21
+PenaltyBreakOpenParenthesis: 21
+PenaltyIndentedWhitespace: 1
AlignTrailingComments:
Kind: Always
OverEmptyLines: 0
@@ -90,7 +92,7 @@ DerivePointerAlignment: false
EmptyLineBeforeAccessModifier: LogicalBlock
FixNamespaceComments: true
ShortNamespaceLines: 0
-IndentCaseBlocks: true
+IndentCaseBlocks: false
IndentCaseLabels: true
IndentGotoLabels: true
IndentPPDirectives: None
@@ -102,7 +104,6 @@ Language: Cpp
LineEnding: CRLF
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
-PenaltyIndentedWhitespace: 2
PointerAlignment: Left
ReflowComments: true
SortIncludes: true