mirror of
https://github.com/swaywm/sway.git
synced 2024-12-27 15:36:29 +01:00
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.
This commit is contained in:
parent
7c636da8a3
commit
84358788aa
1 changed files with 11 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue