X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=.clang-format;h=578856415ab566163dfbabd5bf9049bcee640aaa;hb=223ecd536161ba06dd1d0f39ccf911b082742b92;hp=c2b7d66a1e1b764b3fe5dd09f725c81ebbdd19cd;hpb=0d60e0e144c0faf5efb9551d1d23b7463ce8a4c0;p=dosdemo diff --git a/.clang-format b/.clang-format index c2b7d66..5788564 100644 --- a/.clang-format +++ b/.clang-format @@ -1,3 +1,33 @@ +UseCRLF: false UseTab: Always -IndentWidth: 8 -ColumnLimit: 100 +TabWidth: 4 +IndentWidth: 4 +ColumnLimit: 95 +SortIncludes: Never +SpaceBeforeParens: Never +BreakBeforeBraces: Custom +BraceWrapping: + AfterFunction: true +AlignAfterOpenBracket: DontAlign +AlignConsecutiveAssignments: None +AlignConsecutiveMacros: AcrossEmptyLines +AlignEscapedNewlines: DontAlign +AlignOperands: DontAlign +AllowAllArgumentsOnNextLine: false +AllowAllParametersOfDeclarationOnNextLine: false +AllowShortEnumsOnASingleLine: true +AllowShortIfStatementsOnASingleLine: WithoutElse +AllowShortLoopsOnASingleLine: true +BinPackArguments: true +BinPackParameters: true +BreakBeforeBinaryOperators: NonAssignment +BreakStringLiterals: true +SpaceInEmptyParentheses: false +IndentCaseLabels: false +ReflowComments: true +PointerAlignment: Right +SpacesInCStyleCastParentheses: false +SpaceAfterCStyleCast: false +PenaltyBreakAssignment: 1000 +SpaceBeforeParens: Never +SpaceAfterLogicalNot: false