Add a config file for clang-format
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Mon, 1 Aug 2016 15:48:59 +0000 (17:48 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 2 Aug 2016 07:03:16 +0000 (09:03 +0200)
To use it, use `clang-format --style=file`

.clang-format [new file with mode: 0644]

diff --git a/.clang-format b/.clang-format
new file mode 100644 (file)
index 0000000..70f50ad
--- /dev/null
@@ -0,0 +1,5 @@
+---
+BasedOnStyle: LLVM
+IncludeCategories:
+  - Regex: '"collectd.h"'
+  - Priority: -1