aboutsummaryrefslogtreecommitdiff
path: root/.clang-format
blob: dea31ab66bf6c018cb0be96d8d9d8a7e97e9fde0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
---
Language: Cpp
UseCRLF: false
Standard: c++20
UseTab: Always
TabWidth: 4
IndentWidth: 4
ColumnLimit: 128
PointerAlignment: Left
DerivePointerAlignment: false
SpacesInSquareBrackets: false
SpacesInParentheses: false
SpacesInCStyleCastParentheses: false
SpacesInContainerLiterals: false
SpacesInConditionalStatement: false
SpacesInAngles: false
SpaceInEmptyParentheses: false
SpaceInEmptyBlock: false
SpacesInParens: Never
SpaceBeforeSquareBrackets: false
SpaceBeforeRangeBasedForLoopColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeInheritanceColon: true
SpaceBeforeCtorInitializerColon: true
SpaceBeforeCpp11BracedList: true
SpaceBeforeAssignmentOperators: true
SpaceAfterTemplateKeyword: false
SpaceAfterLogicalNot: false
PackConstructorInitializers: BinPack
NamespaceIndentation: All
#LambdaBodyIndentation: Signature
IndentExternBlock: Indent
IndentCaseBlocks: false
IndentCaseLabels: false
IndentAccessModifiers: false
IndentRequiresClause: false
IncludeBlocks: Regroup
FixNamespaceComments: false
EmptyLineBeforeAccessModifier: LogicalBlock
Cpp11BracedListStyle: false
CompactNamespaces: false
BreakConstructorInitializers: BeforeColon
BreakBeforeBraces: Attach
AlwaysBreakTemplateDeclarations: Yes
AlwaysBreakAfterReturnType: None
PenaltyReturnTypeOnItsOwnLine: 10
BreakBeforeConceptDeclarations: Always
AllowShortLambdasOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: Never
AllowShortEnumsOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: true
AllowShortBlocksOnASingleLine: Empty
AllowShortCompoundRequirementOnASingleLine: true
AllowShortFunctionsOnASingleLine: Empty
AllowShortLoopsOnASingleLine: false
AlignTrailingComments:
  Kind: Never
  OverEmptyLines: 0
AlignEscapedNewlines: DontAlign
AlignAfterOpenBracket: BlockIndent
AlignOperands: DontAlign
AlignConsecutiveShortCaseStatements:
  Enabled: true
  AcrossEmptyLines: true
  AcrossComments: true
  AlignCaseColons: false
BinPackArguments: true
BinPackParameters: true
AccessModifierOffset: -4
InsertNewlineAtEOF: true
InsertBraces: true
MaxEmptyLinesToKeep: 2
RequiresClausePosition: OwnLine
IncludeCategories:
  - Regex: <[[:alnum:]_]+>
    Priority: 1
  - Regex: <[[:alnum:]_]+[.]h>
    Priority: 2
  - Regex: ^<godot_cpp/
    Priority: 3
  - Regex: ^<openvic-dataloader/
    Priority: 4
  - Regex: ^<openvic-simulation/
    Priority: 5
  - Regex: ^"openvic-extension/
    Priority: 6
  - Regex: .*
    Priority: 7