mirror of
https://github.com/cage-kiosk/cage.git
synced 2025-10-29 05:40:19 -04:00
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.
13 lines
367 B
YAML
13 lines
367 B
YAML
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
|