aruu

[MIRROR] Actual replacement for Busybox | suckless
git clone https://git.daat.foo/aruu.git
Log | Files | Refs | README | LICENSE

.clang-format (2191B)


      1 Language: Cpp
      2 BasedOnStyle: LLVM
      3 
      4 IndentWidth: 2
      5 TabWidth: 2
      6 ContinuationIndentWidth: 4
      7 UseTab: Never
      8 IndentCaseLabels: true
      9 IndentPPDirectives: None
     10 IndentWrappedFunctionNames: false
     11 NamespaceIndentation: None
     12 
     13 ColumnLimit: 100
     14 CommentPragmas: '^[[:space:]]*\?man([[:space:]]|$)'
     15 
     16 AlignAfterOpenBracket: BlockIndent
     17 AlignConsecutiveMacros: Consecutive
     18 AlignConsecutiveAssignments: Consecutive
     19 AlignConsecutiveDeclarations: Consecutive
     20 AlignEscapedNewlines: Right
     21 AlignOperands: Align
     22 AlignTrailingComments: true
     23 
     24 AllowAllArgumentsOnNextLine: true
     25 AllowAllParametersOfDeclarationOnNextLine: true
     26 BinPackArguments: false
     27 BinPackParameters: false
     28 
     29 AllowShortBlocksOnASingleLine: Empty
     30 AllowShortCaseLabelsOnASingleLine: false
     31 AllowShortFunctionsOnASingleLine: Empty
     32 AllowShortIfStatementsOnASingleLine: Never
     33 AllowShortLoopsOnASingleLine: false
     34 
     35 AlwaysBreakAfterDefinitionReturnType: TopLevel
     36 AlwaysBreakAfterReturnType: TopLevelDefinitions
     37 AlwaysBreakBeforeMultilineStrings: false
     38 
     39 BreakBeforeBraces: Custom
     40 BraceWrapping:
     41   AfterCaseLabel: false
     42   AfterClass: false
     43   AfterControlStatement: Never
     44   AfterEnum: false
     45   AfterFunction: true
     46   AfterNamespace: false
     47   AfterObjCDeclaration: false
     48   AfterStruct: false
     49   AfterUnion: false
     50   AfterExternBlock: false
     51   BeforeCatch: false
     52   BeforeElse: false
     53   IndentBraces: false
     54   SplitEmptyFunction: true
     55   SplitEmptyRecord: true
     56   SplitEmptyNamespace: true
     57 
     58 BreakBeforeBinaryOperators: NonAssignment
     59 BreakBeforeTernaryOperators: true
     60 BreakStringLiterals: true
     61 
     62 DerivePointerAlignment: false
     63 DisableFormat: false
     64 FixNamespaceComments: true
     65 IncludeBlocks: Preserve
     66 IncludeCategories:
     67   - Regex: '^".*"'
     68     Priority: 1
     69   - Regex: '^<.*>'
     70     Priority: 2
     71 KeepEmptyLinesAtTheStartOfBlocks: false
     72 MaxEmptyLinesToKeep: 1
     73 PointerAlignment: Right
     74 ReflowComments: true
     75 SortIncludes: CaseSensitive
     76 SortUsingDeclarations: true
     77 SpaceAfterCStyleCast: false
     78 SpaceBeforeAssignmentOperators: true
     79 SpaceBeforeParens: ControlStatements
     80 SpaceInEmptyParentheses: false
     81 SpacesBeforeTrailingComments: 1
     82 SpacesInAngles: false
     83 SpacesInContainerLiterals: false
     84 SpacesInCStyleCastParentheses: false
     85 SpacesInParentheses: false
     86 SpacesInSquareBrackets: false
     87 Standard: c++03