about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--third_party/nix/.clang-format9
1 files changed, 7 insertions, 2 deletions
diff --git a/third_party/nix/.clang-format b/third_party/nix/.clang-format
index faefcfa1c4..b8c36e122b 100644
--- a/third_party/nix/.clang-format
+++ b/third_party/nix/.clang-format
@@ -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