Hans-Joerg Schurr
e522d98bef
- clang-format options that I like - cquery config that worked in another project - some .gitignore - a shell.nix file
42 lines
1.2 KiB
YAML
42 lines
1.2 KiB
YAML
---
|
|
BasedOnStyle: Mozilla
|
|
AlignAfterOpenBracket: AlwaysBreak
|
|
AlignConsecutiveAssignments: 'false'
|
|
AlignConsecutiveDeclarations: 'false'
|
|
AlignEscapedNewlines: DontAlign
|
|
AlignOperands: 'false'
|
|
AlignTrailingComments: 'false'
|
|
AllowAllParametersOfDeclarationOnNextLine: 'true'
|
|
AllowShortBlocksOnASingleLine: 'true'
|
|
AllowShortCaseLabelsOnASingleLine: 'true'
|
|
AllowShortFunctionsOnASingleLine: All
|
|
AllowShortIfStatementsOnASingleLine: 'true'
|
|
AllowShortLoopsOnASingleLine: 'true'
|
|
AlwaysBreakAfterReturnType: None
|
|
AlwaysBreakBeforeMultilineStrings: 'true'
|
|
BinPackArguments: 'true'
|
|
BinPackParameters: 'true'
|
|
BreakBeforeBraces: Mozilla
|
|
BreakBeforeTernaryOperators: 'true'
|
|
BreakStringLiterals: 'false'
|
|
DerivePointerAlignment: 'false'
|
|
IncludeBlocks: Regroup
|
|
IndentCaseLabels: 'true'
|
|
IndentPPDirectives: None
|
|
IndentWidth: '2'
|
|
IndentWrappedFunctionNames: 'false'
|
|
KeepEmptyLinesAtTheStartOfBlocks: 'false'
|
|
Language: Cpp
|
|
PointerAlignment: Left
|
|
ReflowComments: 'false'
|
|
SpaceAfterCStyleCast: 'false'
|
|
SpaceBeforeAssignmentOperators: 'true'
|
|
SpaceInEmptyParentheses: 'false'
|
|
SpacesInCStyleCastParentheses: 'false'
|
|
SpacesInParentheses: 'false'
|
|
SpacesInSquareBrackets: 'false'
|
|
TabWidth: '2'
|
|
UseTab: ForContinuationAndIndentation
|
|
|
|
...
|