mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 17:13:48 +01:00
Add clang-format configuration
This commit is contained in:
parent
2f0cdb95ec
commit
b92388c31a
20
.clang-format
Normal file
20
.clang-format
Normal file
@ -0,0 +1,20 @@
|
||||
---
|
||||
Language: Cpp
|
||||
AlignConsecutiveAssignments: true
|
||||
AlignConsecutiveDeclarations: true
|
||||
AlignOperands: true
|
||||
AllowShortBlocksOnASingleLine: false
|
||||
AllowShortFunctionsOnASingleLine: false
|
||||
AllowShortIfStatementsOnASingleLine: false
|
||||
AllowShortLoopsOnASingleLine: false
|
||||
AlwaysBreakAfterDefinitionReturnType: All
|
||||
BreakBeforeBraces: Linux
|
||||
ContinuationIndentWidth: 2
|
||||
ColumnLimit: 120
|
||||
ForEachMacros: ['GIRARA_LIST_FOREACH']
|
||||
IndentWidth: 2
|
||||
PointerAlignment: Left
|
||||
TabWidth: 2
|
||||
IndentCaseLabels: true
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user