commit 31f2dabebb6497a6b69a5f319c3772e7cf5f019c
parent c8ed2fb544ff786fbe9fe095edf58d25248fa78a
Author: Stephen Gregoratto <dev@sgregoratto.me>
Date: Fri, 25 Sep 2020 17:02:39 +1000
Make sure config.h is always on top
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/.clang-format b/.clang-format
@@ -12,6 +12,9 @@ IndentCaseLabels: false
IndentWidth: 8
IncludeBlocks: Regroup
IncludeCategories:
+ - Regex: '"config\.h"'
+ Priority: 1
+ SortPriority: 0
- Regex: '^<sys/param\.h>'
Priority: 1
SortPriority: 0