sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 6fb985b767b3629ad7cb276272a4da1786298c99
parent 0374154749653b5f29b86e255af7b2346bddebe0
Author: David Eklov <david.eklov@gmail.com>
Date:   Mon, 11 Jul 2016 22:33:58 -0500

clang-format configuration for Sway's style as detailed in CONTRIBUTING.md

CONTRIBUTING.md says use kernel style, "but all braces go on the same line". The
kernel uses a column limit of 80 characters. The de facto syle in Sway is to
allow for wider lines so this format file does not enforce an 80 column limit.

Diffstat:
A.clang-format | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/.clang-format b/.clang-format @@ -0,0 +1,7 @@ +BasedOnStyle: LLVM +IndentWidth: 8 +UseTab: Always +BreakBeforeBraces: Attach +AllowShortIfStatementsOnASingleLine: false +IndentCaseLabels: false +ColumnLimit: 0