sway

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

commit 84358788aae8472166bc01013515e09f9bc2f40c
parent 7c636da8a307f5aa3aa5f38a71b0a4e28fd5564c
Author: Drew DeVault <sir@cmpwn.com>
Date:   Tue, 10 Jan 2017 23:30:34 -0500

Update .clang-format - not entirely usable yet

I've run into a situation where clang-format does not support the
necessary style rules. It will have to be patched before clang-format is
fully adopted into Sway. Use this file with caution.

Diffstat:
M.clang-format | 13+++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/.clang-format b/.clang-format @@ -1,7 +1,16 @@ BasedOnStyle: LLVM -IndentWidth: 8 +IndentWidth: 4 +TabWidth: 4 UseTab: Always BreakBeforeBraces: Attach AllowShortIfStatementsOnASingleLine: false IndentCaseLabels: false -ColumnLimit: 0 +SortIncludes: false +ColumnLimit: 80 +AlignAfterOpenBracket: DontAlign +BinPackParameters: false +BinPackArguments: false +ContinuationIndentWidth: 8 +AllowAllParametersOfDeclarationOnNextLine: false +AllowShortLoopsOnASingleLine: true +ReflowComments: false