mirror of
https://github.com/ethteck/kh1.git
synced 2024-11-30 08:50:45 +00:00
9d1a4cc92b
* think i found another split * added basic clang-format * implemented requested changes
40 lines
833 B
YAML
40 lines
833 B
YAML
IndentWidth: 4
|
|
UseTab: Never
|
|
ColumnLimit: 120
|
|
|
|
PointerAlignment: Left
|
|
|
|
AllowShortIfStatementsOnASingleLine: false
|
|
AllowShortBlocksOnASingleLine: false
|
|
|
|
BreakBeforeBraces: Custom
|
|
BraceWrapping:
|
|
# Place opening brace on next line if the statement is multi-line
|
|
# e.g.
|
|
# if (very
|
|
# long
|
|
# condition)
|
|
# {
|
|
AfterControlStatement: MultiLine
|
|
|
|
IndentCaseLabels: true
|
|
|
|
BreakBeforeBinaryOperators: NonAssignment
|
|
|
|
ExperimentalAutoDetectBinPacking: true
|
|
BinPackParameters: false
|
|
AlignAfterOpenBracket: BlockIndent
|
|
|
|
# Our include order is WIP so disable it
|
|
SortIncludes: false
|
|
IncludeCategories:
|
|
# common.h always comes first
|
|
- Regex: '^"common\.h"$'
|
|
Priority: 10
|
|
# everything else
|
|
- Regex: '.*'
|
|
Priority: 1
|
|
SortPriority: 0
|
|
|
|
AllowShortFunctionsOnASingleLine: None
|