style(3p/nix): Change include formatting config for clang-format
Changes the configuration to regroup all includes. The include groups will be (in this order): 1. (in .cc): Include of the corresponding header 2. Includes of C++ standard library headers 3. Includes of other external headers 4. Includes of local headers
This commit is contained in:
parent
1086072d3d
commit
b508f5b91a
1 changed files with 7 additions and 2 deletions
9
third_party/nix/.clang-format
vendored
9
third_party/nix/.clang-format
vendored
|
@ -2,5 +2,10 @@
|
|||
BasedOnStyle: Google
|
||||
DerivePointerAlignment: false
|
||||
PointerAlignment: Left
|
||||
IncludeBlocks: Merge
|
||||
CommentPragmas: '(@copydoc)'
|
||||
IncludeCategories:
|
||||
- Regex: '^<.*\.h>'
|
||||
Priority: 2
|
||||
- Regex: '^<.*'
|
||||
Priority: 1
|
||||
- Regex: '.*'
|
||||
Priority: 3
|
||||
|
|
Loading…
Reference in a new issue