39 lines
1.2 KiB
YAML
39 lines
1.2 KiB
YAML
#-* This file was taken directly from the official Nix repository
|
|
#-* hosted on GitHub, such that Nixide upholds the style guidelines.
|
|
#-* REF: https://github.com/NixOS/nix.git
|
|
|
|
BasedOnStyle: LLVM
|
|
IndentWidth: 4
|
|
BreakBeforeBraces: Custom
|
|
BraceWrapping:
|
|
AfterStruct: true
|
|
AfterClass: true
|
|
AfterFunction: true
|
|
AfterUnion: true
|
|
SplitEmptyRecord: false
|
|
PointerAlignment: Middle
|
|
FixNamespaceComments: true
|
|
SortIncludes: Never
|
|
#IndentPPDirectives: BeforeHash
|
|
SpaceAfterCStyleCast: true
|
|
SpaceAfterTemplateKeyword: false
|
|
AccessModifierOffset: -4
|
|
AlignAfterOpenBracket: AlwaysBreak
|
|
AlignEscapedNewlines: Left
|
|
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
|
|
BinPackArguments: false
|
|
BreakBeforeTernaryOperators: true
|
|
SeparateDefinitionBlocks: Always
|