aboutsummaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorMichael Stapelberg <stapelberg@users.noreply.github.com>2016-11-08 13:46:43 -0800
committerGitHub <noreply@github.com>2016-11-08 13:46:43 -0800
commitfff3f79da9a87a1f790c6328f6615422f2b69b47 (patch)
tree05b3c69026837daedd5894efdf086fbfb88c787a /.clang-format
parent4ccac59932f2ca3ebc9ba30fb0bc0aa8aac0d630 (diff)
downloadi3-fff3f79da9a87a1f790c6328f6615422f2b69b47.tar.gz
i3-fff3f79da9a87a1f790c6328f6615422f2b69b47.zip
switch to clang-format-3.8 (#2547)
https://llvm.org/bugs/show_bug.cgi?id=30353 was filed for the unintended line break between in e.g. “TAILQ_ENTRY(foo)\nbar;”. Until that’s fixed or a workaround is known, we’ll live with line breaks. To make it a bit easier for readers to see what’s going on, I added extra line breaks around each such struct member/variable definition, so that they at least visually are a single unit. fixes #2174
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format1
1 files changed, 1 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
index 1d840132..6e49d835 100644
--- a/.clang-format
+++ b/.clang-format
@@ -8,3 +8,4 @@ IndentWidth: 4
PointerBindsToType: false
ColumnLimit: 0
SpaceBeforeParens: ControlStatements
+SortIncludes: false