mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 14:06:16 +02:00
bcda38c272
This reflects the style I've been introducing in tandem with Windows support. See https://clang.llvm.org/docs/ClangFormatStyleOptions.html#indentppdirectives for this configuration option.
32 lines
925 B
YAML
32 lines
925 B
YAML
BasedOnStyle: LLVM
|
|
IndentWidth: 4
|
|
BreakBeforeBraces: Custom
|
|
BraceWrapping:
|
|
AfterStruct: true
|
|
AfterClass: true
|
|
AfterFunction: true
|
|
AfterUnion: true
|
|
SplitEmptyRecord: false
|
|
PointerAlignment: Middle
|
|
FixNamespaceComments: false
|
|
SortIncludes: Never
|
|
#IndentPPDirectives: BeforeHash
|
|
SpaceAfterCStyleCast: true
|
|
SpaceAfterTemplateKeyword: false
|
|
AccessModifierOffset: -4
|
|
AlignAfterOpenBracket: AlwaysBreak
|
|
AlignEscapedNewlines: DontAlign
|
|
ColumnLimit: 120
|
|
BreakStringLiterals: false
|
|
BitFieldColonSpacing: None
|
|
AllowShortFunctionsOnASingleLine: Empty
|
|
AlwaysBreakTemplateDeclarations: Yes
|
|
BinPackParameters: false
|
|
BreakConstructorInitializers: BeforeComma
|
|
EmptyLineAfterAccessModifier: Leave # change to always/never later?
|
|
EmptyLineBeforeAccessModifier: Leave
|
|
#PackConstructorInitializers: BinPack
|
|
BreakBeforeBinaryOperators: NonAssignment
|
|
AlwaysBreakBeforeMultilineStrings: true
|
|
IndentPPDirectives: AfterHash
|
|
PPIndentWidth: 2
|