.clang-format (3941B)


      1 # Stole from suckless' libgrapheme
      2 # https://git.suckless.org/libgrapheme/file/.clang-format.html
      3 
      4 AccessModifierOffset: 0
      5 AlignAfterOpenBracket: Align
      6 AlignArrayOfStructures: None
      7 AlignConsecutiveAssignments:
      8   Enabled: false
      9 AlignConsecutiveBitFields:
     10   Enabled: true
     11   AcrossEmptyLines: false
     12   AcrossComments: false
     13 AlignConsecutiveDeclarations:
     14   Enabled: false
     15 AlignConsecutiveMacros:
     16   Enabled: true
     17   AcrossEmptyLines: false
     18   AcrossComments: false
     19 AlignEscapedNewlines: Right
     20 AlignOperands: Align
     21 AlignTrailingComments: true
     22 #  Kind: Always
     23 #  OverEmptyLines: 1
     24 AllowAllArgumentsOnNextLine: true
     25 AllowAllParametersOfDeclarationOnNextLine: true
     26 AllowShortBlocksOnASingleLine: Never
     27 AllowShortCaseLabelsOnASingleLine: false
     28 AllowShortEnumsOnASingleLine: false
     29 AllowShortFunctionsOnASingleLine: None
     30 AllowShortIfStatementsOnASingleLine: Never
     31 AllowShortLambdasOnASingleLine: None
     32 AllowShortLoopsOnASingleLine: false
     33 AlwaysBreakAfterReturnType: TopLevelDefinitions
     34 AlwaysBreakBeforeMultilineStrings: false
     35 AlwaysBreakTemplateDeclarations: Yes
     36 AttributeMacros: []
     37 BinPackArguments: true
     38 BinPackParameters: true
     39 BitFieldColonSpacing: Both
     40 BreakAfterJavaFieldAnnotations: false
     41 #BreakArrays: false
     42 BreakBeforeBinaryOperators: None
     43 BreakBeforeBraces: WebKit
     44 BreakBeforeConceptDeclarations: Always
     45 #BreakBeforeInlineASMColon: Always
     46 BreakBeforeTernaryOperators: false
     47 BreakConstructorInitializers: AfterColon
     48 BreakInheritanceList: AfterComma
     49 BreakStringLiterals: true
     50 ColumnLimit: 80
     51 CommentPragmas: ""
     52 CompactNamespaces: false
     53 ConstructorInitializerIndentWidth: 8
     54 ContinuationIndentWidth: 8
     55 Cpp11BracedListStyle: false
     56 DeriveLineEnding: false
     57 DerivePointerAlignment: false
     58 DisableFormat: false
     59 EmptyLineAfterAccessModifier: Never
     60 EmptyLineBeforeAccessModifier: Never
     61 FixNamespaceComments: true
     62 ForEachMacros: []
     63 IfMacros: []
     64 IncludeBlocks: Preserve
     65 IncludeIsMainRegex: ""
     66 IncludeIsMainSourceRegex: ""
     67 IndentAccessModifiers: false
     68 IndentCaseBlocks: false
     69 IndentCaseLabels: false
     70 IndentExternBlock: NoIndent
     71 IndentGotoLabels: false
     72 IndentPPDirectives: BeforeHash
     73 IndentRequiresClause: false
     74 IndentWidth: 8
     75 IndentWrappedFunctionNames: false
     76 InsertBraces: true
     77 InsertTrailingCommas: None
     78 JavaImportGroups: []
     79 JavaScriptQuotes: Double
     80 JavaScriptWrapImports: true
     81 KeepEmptyLinesAtTheStartOfBlocks: false
     82 LambdaBodyIndentation: Signature
     83 Language: Cpp
     84 MacroBlockBegin: ""
     85 MacroBlockEnd: ""
     86 MaxEmptyLinesToKeep: 1
     87 NamespaceIndentation: All
     88 NamespaceMacros: []
     89 ObjCBinPackProtocolList: Never
     90 ObjCBlockIndentWidth: 8
     91 ObjCBreakBeforeNestedBlockParam: true
     92 ObjCSpaceAfterProperty: true
     93 ObjCSpaceBeforeProtocolList: true
     94 PPIndentWidth: 0
     95 PackConstructorInitializers: Never
     96 PointerAlignment: Right
     97 QualifierAlignment: Left
     98 RawStringFormats: []
     99 ReferenceAlignment: Pointer
    100 ReflowComments: true
    101 RemoveBracesLLVM: false
    102 #RemoveSemicolon: false
    103 RequiresClausePosition: OwnLine
    104 #RequiresExpressionIndentation: Keyword
    105 SeparateDefinitionBlocks: Always
    106 ShortNamespaceLines: 0
    107 SortIncludes: CaseSensitive
    108 SortJavaStaticImport: Before
    109 SortUsingDeclarations: true
    110 SpaceAfterCStyleCast: false
    111 SpaceAfterLogicalNot: false
    112 SpaceAfterTemplateKeyword: false
    113 SpaceAroundPointerQualifiers: Before
    114 SpaceBeforeAssignmentOperators: true
    115 SpaceBeforeCaseColon: false
    116 SpaceBeforeCpp11BracedList: true
    117 SpaceBeforeCtorInitializerColon: true
    118 SpaceBeforeInheritanceColon: true
    119 SpaceBeforeParens: ControlStatements
    120 SpaceBeforeRangeBasedForLoopColon: true
    121 SpaceBeforeSquareBrackets: false
    122 SpaceInEmptyBlock: false
    123 SpaceInEmptyParentheses: false
    124 SpacesBeforeTrailingComments: 4
    125 SpacesInAngles: Never
    126 SpacesInCStyleCastParentheses: false
    127 SpacesInConditionalStatement: false
    128 SpacesInContainerLiterals: true
    129 SpacesInLineCommentPrefix:
    130   Minimum: 1
    131   Maximum: 1
    132 SpacesInParentheses: false
    133 SpacesInSquareBrackets: false
    134 Standard: Auto
    135 StatementAttributeLikeMacros: []
    136 StatementMacros: []
    137 TabWidth: 8
    138 TypenameMacros: []
    139 UseCRLF: false
    140 UseTab: AlignWithSpaces
    141 #WhitespaceSensitiveMacros: []