mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 00:02:25 +00:00
Have clang-format
indent conditional CPP
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.
This commit is contained in:
parent
03eb4f7baa
commit
bcda38c272
@ -28,3 +28,5 @@ EmptyLineBeforeAccessModifier: Leave
|
|||||||
#PackConstructorInitializers: BinPack
|
#PackConstructorInitializers: BinPack
|
||||||
BreakBeforeBinaryOperators: NonAssignment
|
BreakBeforeBinaryOperators: NonAssignment
|
||||||
AlwaysBreakBeforeMultilineStrings: true
|
AlwaysBreakBeforeMultilineStrings: true
|
||||||
|
IndentPPDirectives: AfterHash
|
||||||
|
PPIndentWidth: 2
|
||||||
|
Loading…
Reference in New Issue
Block a user