Skip to content

Instantly share code, notes, and snippets.

@nikibobi
Last active November 20, 2022 23:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nikibobi/89d918854c4f0b54e293a052697ac04b to your computer and use it in GitHub Desktop.
Save nikibobi/89d918854c4f0b54e293a052697ac04b to your computer and use it in GitHub Desktop.
---
AlignAfterOpenBracket: AlwaysBreak
AlignConsecutiveAssignments: "false"
AlignConsecutiveDeclarations: "false"
AllowAllConstructorInitializersOnNextLine: "true"
AllowShortBlocksOnASingleLine: Never
AllowShortCaseLabelsOnASingleLine: "false"
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: Never
AllowShortLambdasOnASingleLine: Inline
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: "true"
AlwaysBreakTemplateDeclarations: Yes
BinPackArguments: "false"
BinPackParameters: "false"
BreakBeforeBraces: Allman
BreakBeforeTernaryOperators: "true"
BreakConstructorInitializers: BeforeColon
BreakInheritanceList: AfterColon
BreakStringLiterals: "false"
ColumnLimit: 120
CompactNamespaces: "false"
ConstructorInitializerAllOnOneLineOrOnePerLine: "true"
ContinuationIndentWidth: "4"
Cpp11BracedListStyle: "true"
FixNamespaceComments: "false"
IncludeBlocks: Regroup
IndentCaseLabels: true
IndentPPDirectives: None
IndentWidth: "4"
IndentWrappedFunctionNames: "false"
KeepEmptyLinesAtTheStartOfBlocks: "false"
Language: Cpp
MaxEmptyLinesToKeep: "1"
NamespaceIndentation: All
PointerAlignment: Left
ReflowComments: "false"
SortIncludes: CaseInsensitive
SortUsingDeclarations: "true"
SpaceAfterCStyleCast: "false"
SpaceAfterLogicalNot: "false"
SpaceAfterTemplateKeyword: "false"
SpaceBeforeAssignmentOperators: "true"
SpaceBeforeCpp11BracedList: "false"
SpaceBeforeCtorInitializerColon: "true"
SpaceBeforeInheritanceColon: "true"
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: "true"
SpaceInEmptyParentheses: "false"
SpacesInAngles: Never
SpacesInCStyleCastParentheses: "false"
SpacesInContainerLiterals: "false"
SpacesInParentheses: "false"
SpacesInSquareBrackets: "false"
Standard: c++20
TabWidth: "4"
UseTab: Never
AccessModifierOffset: -4
AlignArrayOfStructures: None
AlignConsecutiveBitFields:
Enabled: false
AlignConsecutiveMacros:
Enabled: true
AcrossEmptyLines: false
AcrossComments: false
AlignEscapedNewlines: Left
AlignOperands: DontAlign
AlignTrailingComments: false
AllowAllArgumentsOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortEnumsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
BitFieldColonSpacing: Both
BreakBeforeConceptDeclarations: Always
EmptyLineAfterAccessModifier: Leave
EmptyLineBeforeAccessModifier: Leave
IndentAccessModifiers: false
IndentCaseBlocks: false
IndentExternBlock: Indent
IndentGotoLabels: true
IndentRequiresClause: false
PackConstructorInitializers: BinPack
QualifierAlignment: Left
ReferenceAlignment: Left
RequiresClausePosition: OwnLine
SpaceBeforeCaseColon: false
SpaceBeforeSquareBrackets: false
SpaceInEmptyBlock: false
SpacesInConditionalStatement: false
SpacesInLineCommentPrefix:
Minimum: 1
Maximum: 1
BreakBeforeBinaryOperators: NonAssignment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment