34 lines
805 B
YAML
34 lines
805 B
YAML
# Plan 9 coding conventions for C (http://man.9front.org/6/style)
|
|
BasedOnStyle: LLVM
|
|
IndentWidth: 2
|
|
TabWidth: 2
|
|
UseTab: Always
|
|
|
|
SpaceBeforeParens: Never
|
|
SpaceBeforeAssignmentOperators: true
|
|
AllowShortIfStatementsOnASingleLine: WithoutElse
|
|
AllowShortLoopsOnASingleLine: true
|
|
RemoveBracesLLVM: true
|
|
|
|
BreakBeforeBraces: Custom
|
|
BraceWrapping:
|
|
AfterCaseLabel: false
|
|
AfterClass: false
|
|
AfterControlStatement: Never
|
|
AfterEnum: false
|
|
AfterFunction: true
|
|
AfterNamespace: false
|
|
AfterStruct: false
|
|
AfterUnion: false
|
|
AfterExternBlock: false
|
|
BeforeCatch: false
|
|
BeforeElse: false
|
|
IndentBraces: false
|
|
AlwaysBreakAfterReturnType: TopLevelDefinitions
|
|
DerivePointerAlignment: false
|
|
PointerAlignment: Right
|
|
AlignOperands: Align
|
|
AlignAfterOpenBracket: Align
|
|
SortIncludes: Never
|
|
IndentCaseLabels: false
|