mirror of
https://codeberg.org/dwl/dwl.git
synced 2026-06-21 06:32:40 +00:00
formatting: add .clang-format
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
Language: C
|
||||
BasedOnStyle: LLVM
|
||||
ColumnLimit: 100
|
||||
IndentWidth: 8
|
||||
TabWidth: 8
|
||||
UseTab: ForIndentation
|
||||
ContinuationIndentWidth: 8
|
||||
BreakBeforeBraces: Linux
|
||||
BreakAfterReturnType: AllDefinitions
|
||||
AlwaysBreakAfterReturnType: AllDefinitions
|
||||
PointerAlignment: Right
|
||||
IndentCaseLabels: false
|
||||
AlignAfterOpenBracket: DontAlign
|
||||
BinPackParameters: true
|
||||
BinPackArguments: true
|
||||
AllowShortFunctionsOnASingleLine: None
|
||||
AllowShortBlocksOnASingleLine: Never
|
||||
AllowShortIfStatementsOnASingleLine: Never
|
||||
AllowShortLoopsOnASingleLine: false
|
||||
AllowShortCaseLabelsOnASingleLine: false
|
||||
SpaceBeforeParens: ControlStatements
|
||||
SpaceAfterCStyleCast: false
|
||||
AlignConsecutiveMacros:
|
||||
Enabled: true
|
||||
AcrossEmptyLines: false
|
||||
AcrossComments: false
|
||||
AlignTrailingComments: false
|
||||
AlignArrayOfStructures: Left
|
||||
SortIncludes: true
|
||||
IncludeBlocks: Regroup
|
||||
Reference in New Issue
Block a user