mirror of https://github.com/mamba-org/mamba.git
84 lines
2.4 KiB
YAML
84 lines
2.4 KiB
YAML
BasedOnStyle: Mozilla
|
|
Language: Cpp
|
|
Standard: c++17
|
|
|
|
AccessModifierOffset: '-4'
|
|
AlignAfterOpenBracket: BlockIndent
|
|
AlignEscapedNewlinesLeft: 'false'
|
|
AllowAllArgumentsOnNextLine: false
|
|
AllowAllParametersOfDeclarationOnNextLine: false
|
|
AllowShortBlocksOnASingleLine: 'false'
|
|
AllowShortCaseLabelsOnASingleLine: 'false'
|
|
AllowShortFunctionsOnASingleLine: 'false'
|
|
AllowShortIfStatementsOnASingleLine: 'false'
|
|
AllowShortLoopsOnASingleLine: 'false'
|
|
AlwaysBreakTemplateDeclarations: 'true'
|
|
BinPackArguments: false
|
|
BinPackParameters: false
|
|
BreakBeforeBinaryOperators: All
|
|
BreakBeforeBraces: Allman
|
|
BreakBeforeTernaryOperators: 'true'
|
|
BreakConstructorInitializersBeforeComma: 'true'
|
|
BreakStringLiterals: 'false'
|
|
ColumnLimit: '100'
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: 'false'
|
|
ConstructorInitializerIndentWidth: '4'
|
|
ContinuationIndentWidth: '4'
|
|
Cpp11BracedListStyle: 'false'
|
|
DerivePointerAlignment: 'false'
|
|
DisableFormat: 'false'
|
|
EmptyLineAfterAccessModifier: Always
|
|
EmptyLineBeforeAccessModifier: Always
|
|
ExperimentalAutoDetectBinPacking: 'true'
|
|
IncludeBlocks: Regroup
|
|
IncludeCategories:
|
|
- Regex: <[^.]+>
|
|
Priority: 1
|
|
- Regex: <mamba/.+>
|
|
Priority: 3
|
|
- Regex: <.+>
|
|
Priority: 2
|
|
- Regex: '"mamba/.+"'
|
|
Priority: 4
|
|
- Regex: '".+/.+"'
|
|
Priority: 5
|
|
- Regex: '".+"'
|
|
Priority: 6
|
|
IndentCaseLabels: 'true'
|
|
IndentWidth: '4'
|
|
IndentWrappedFunctionNames: 'false'
|
|
InsertBraces: true # Experimental
|
|
KeepEmptyLinesAtTheStartOfBlocks: 'false'
|
|
MaxEmptyLinesToKeep: '2'
|
|
NamespaceIndentation: All
|
|
ObjCBlockIndentWidth: '4'
|
|
ObjCSpaceAfterProperty: 'false'
|
|
ObjCSpaceBeforeProtocolList: 'false'
|
|
PackConstructorInitializers: Never
|
|
PenaltyBreakAssignment: 100000
|
|
PenaltyBreakBeforeFirstCallParameter: 0
|
|
PenaltyBreakComment: 10
|
|
PenaltyBreakOpenParenthesis: 0
|
|
PenaltyBreakTemplateDeclaration: 0
|
|
PenaltyExcessCharacter: 10
|
|
PenaltyIndentedWhitespace: 0
|
|
PenaltyReturnTypeOnItsOwnLine: 10
|
|
PointerAlignment: Left
|
|
QualifierAlignment: Custom # Experimental
|
|
QualifierOrder: [inline, static, constexpr, const, volatile, type]
|
|
ReflowComments: 'true'
|
|
SortIncludes: CaseInsensitive
|
|
SpaceAfterCStyleCast: 'true'
|
|
SpaceAfterTemplateKeyword: 'true'
|
|
SpaceBeforeAssignmentOperators: 'true'
|
|
SpaceBeforeParens: ControlStatements
|
|
SpaceInEmptyParentheses: 'false'
|
|
SpacesBeforeTrailingComments: '2'
|
|
SpacesInAngles: 'false'
|
|
SpacesInCStyleCastParentheses: 'false'
|
|
SpacesInContainerLiterals: 'false'
|
|
SpacesInParentheses: 'false'
|
|
SpacesInSquareBrackets: 'false'
|
|
TabWidth: '4'
|
|
UseTab: Never
|