]> git.sur5r.net Git - i3/i3/blobdiff - .clang-format
add .clang-format, to be used with clang-format-3.5
[i3/i3] / .clang-format
diff --git a/.clang-format b/.clang-format
new file mode 100644 (file)
index 0000000..57948c3
--- /dev/null
@@ -0,0 +1,11 @@
+BasedOnStyle: google
+AllowShortIfStatementsOnASingleLine: false
+AllowShortLoopsOnASingleLine: false
+AllowShortFunctionsOnASingleLine: None
+AllowShortBlocksOnASingleLine: false
+AlwaysBreakBeforeMultilineStrings: false
+IndentWidth: 4
+PointerBindsToType: false
+ColumnLimit: 0
+ForEachMacros: [ TAILQ_FOREACH, TAILQ_FOREACH_REVERSE, SLIST_FOREACH, CIRCLEQ_FOREACH, CIRCLEQ_FOREACH_REVERSE, NODES_FOREACH, NODES_FOREACH_REVERSE ]
+SpaceBeforeParens: ControlStatements