1
1
mirror of https://github.com/swaywm/sway synced 2024-11-26 09:03:54 +01:00
sway/.clang-format
Drew DeVault 84358788aa 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.
2017-01-10 23:30:34 -05:00

17 lines
405 B
YAML

BasedOnStyle: LLVM
IndentWidth: 4
TabWidth: 4
UseTab: Always
BreakBeforeBraces: Attach
AllowShortIfStatementsOnASingleLine: false
IndentCaseLabels: false
SortIncludes: false
ColumnLimit: 80
AlignAfterOpenBracket: DontAlign
BinPackParameters: false
BinPackArguments: false
ContinuationIndentWidth: 8
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortLoopsOnASingleLine: true
ReflowComments: false