From e73e9c3e2ed146c7fe012eb840eb845c86b1b571 Mon Sep 17 00:00:00 2001
From: ridiculousfish <corydoras@ridiculousfish.com>
Date: Sun, 13 Oct 2019 15:45:02 -0700
Subject: [PATCH] Ensure that clang-format places config.h first in header list

---
 .clang-format | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/.clang-format b/.clang-format
index c540053d5..0243776b3 100644
--- a/.clang-format
+++ b/.clang-format
@@ -6,5 +6,11 @@
 BasedOnStyle: Google
 ColumnLimit: 100
 IndentWidth: 4
+
+# Place config.h first always.
+IncludeCategories:
+  - Regex: '^"config.h"'
+    Priority: -1
+
 # We don't want OCLint pragmas to be reformatted.
 CommentPragmas: '^!OCLINT'