aboutsummaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
author Hop311 <Hop3114@gmail.com>2023-09-14 21:17:04 +0200
committer GitHub <noreply@github.com>2023-09-14 21:17:04 +0200
commit9de41a0ed5f050f205219ab2a9f114800d048c14 (patch)
tree559681d5a2569adc307409d818311760edc12654 /.clang-format
parent1013b3c21226f703caba954664628694aedde469 (diff)
parent70c040d042cb536e5ce16b0cfff0e0afa39e8ed7 (diff)
Merge pull request #151 from OpenVicProject/dataloading
Build system cleanup + dataloading scaffolding + JSON dataloading removed
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