Add a "display usage on error" setting
[ctxopt.git] / .clang-format
blobb957a81a17a4329baf915e3f4b332edf398881f4
1 SortIncludes: 'false'
2 BasedOnStyle: Mozilla
3 AlignAfterOpenBracket: 'true'
4 AlignConsecutiveAssignments: 'true'
5 AlignConsecutiveDeclarations: 'true'
6 AlignOperands: 'true'
7 AlignEscapedNewlinesLeft: 'true'
8 AlignOperands: 'true'
9 AlignTrailingComments: 'true'
10 ReflowComments: 'false'
11 AllowAllParametersOfDeclarationOnNextLine: 'false'
12 AllowShortBlocksOnASingleLine: 'false'
13 AllowShortCaseLabelsOnASingleLine: 'false'
14 AllowShortFunctionsOnASingleLine: None
15 AllowShortIfStatementsOnASingleLine: 'false'
16 AllowShortLoopsOnASingleLine: 'false'
17 AlwaysBreakBeforeMultilineStrings: 'false'
18 BinPackArguments: 'true'
19 BinPackParameters: 'true'
20 BreakBeforeBraces: Allman
21 BreakBeforeBinaryOperators: NonAssignment
22 BreakBeforeTernaryOperators: 'true'
23 BreakConstructorInitializersBeforeComma: 'false'
24 ColumnLimit: '80'
25 ContinuationIndentWidth: '2'
26 DerivePointerAlignment: 'false'
27 IndentCaseLabels: 'true'
28 IndentWidth: '2'
29 KeepEmptyLinesAtTheStartOfBlocks: 'true'
30 Language: Cpp
31 MaxEmptyLinesToKeep: '1'
32 PointerAlignment: Middle
33 SpaceAfterCStyleCast: 'false'
34 SpaceBeforeAssignmentOperators: 'true'
35 SpaceBeforeParens: Never
36 SpaceBeforeParens: ControlStatements
37 SpaceInEmptyParentheses: 'false'
38 SpacesBeforeTrailingComments: '1'
39 SpacesInCStyleCastParentheses: 'false'
40 SpacesInParentheses: 'false'
41 SpacesInSquareBrackets: 'false'
42 TabWidth: '2'
43 UseTab: Never
44 PenaltyBreakBeforeFirstCallParameter: '100'
45 PenaltyBreakAssignment: '150'