aboutsummaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
author Hop311 <hop3114@gmail.com>2023-09-14 09:52:25 +0200
committer Hop311 <hop3114@gmail.com>2023-09-14 09:52:25 +0200
commit70c040d042cb536e5ce16b0cfff0e0afa39e8ed7 (patch)
tree559681d5a2569adc307409d818311760edc12654 /.clang-format
parent9dc8c3c89a86b8be2084890f3207adc6c9cda496 (diff)
Logger::warning, format cleanup + req comments
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format17
1 files changed, 12 insertions, 5 deletions
diff --git a/.clang-format b/.clang-format
index bfa989e..e94fe0a 100644
--- a/.clang-format
+++ b/.clang-format
@@ -24,7 +24,7 @@ SpaceBeforeAssignmentOperators: true
SpaceAfterTemplateKeyword: false
SpaceAfterLogicalNot: false
PointerAlignment: Left
-PackConstructorInitializers: CurrentLine
+PackConstructorInitializers: BinPack
NamespaceIndentation: All
LambdaBodyIndentation: Signature
IndentExternBlock: Indent
@@ -43,8 +43,11 @@ AllowShortIfStatementsOnASingleLine: AllIfsAndElse
AllowShortEnumsOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: true
AlignTrailingComments: true
-AlignEscapedNewlines: Left
-AlignAfterOpenBracket: DontAlign
+AlignEscapedNewlines: DontAlign
+AlignAfterOpenBracket: BlockIndent
+BinPackArguments: true
+BinPackParameters: true
+IndentRequiresClause: false
AccessModifierOffset: -4
IncludeCategories:
- Regex: <[[:alnum:]_]+>
@@ -53,7 +56,11 @@ IncludeCategories:
Priority: 2
- Regex: ^<godot_cpp/
Priority: 3
- - Regex: ^"openvic/
+ - Regex: ^<openvic-dataloader/
Priority: 4
- - Regex: .*
+ - Regex: ^<openvic-simulation/
Priority: 5
+ - Regex: ^"openvic-extension/
+ Priority: 6
+ - Regex: .*
+ Priority: 7