about summary refs log tree commit diff
path: root/third_party/nix/.clang-format
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/.clang-format')
-rw-r--r--third_party/nix/.clang-format11
1 files changed, 11 insertions, 0 deletions
diff --git a/third_party/nix/.clang-format b/third_party/nix/.clang-format
new file mode 100644
index 000000000000..b8c36e122b04
--- /dev/null
+++ b/third_party/nix/.clang-format
@@ -0,0 +1,11 @@
+# Use the Google style in this project.
+BasedOnStyle: Google
+DerivePointerAlignment: false
+PointerAlignment: Left
+IncludeCategories:
+  - Regex: '^<.*\.h>'
+    Priority: 2
+  - Regex: '^<.*'
+    Priority: 1
+  - Regex: '.*'
+    Priority: 3