mirror of
https://github.com/cage-kiosk/cage.git
synced 2025-10-28 05:40:16 -04:00
Add clang-format file
This adds a first iteration of a clang-format style definition. It formats the current code such that it aligns (mostly..) with the style I prefer, but it is most likely incomplete and there will be corner cases. Fixes #124.
This commit is contained in:
parent
6fa2734651
commit
bd48cad492
1 changed files with 13 additions and 0 deletions
13
.clang-format
Normal file
13
.clang-format
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
AlignAfterOpenBracket: Align
|
||||
AlignTrailingComments: false
|
||||
AlwaysBreakAfterReturnType: TopLevelDefinitions
|
||||
BreakBeforeBraces: Linux
|
||||
ColumnLimit: 120
|
||||
ContinuationIndentWidth: 8
|
||||
ForEachMacros: [wl_list_for_each, wl_list_for_each_safe, wl_list_for_each_reverse]
|
||||
IndentWidth: 8
|
||||
ReflowComments: true
|
||||
SortIncludes: true
|
||||
SpaceAfterCStyleCast: true
|
||||
TabWidth: 8
|
||||
UseTab: Always
|
||||
Loading…
Add table
Add a link
Reference in a new issue