chore: sync clang format with upstream qmk

main
sudo pacman -Syu 2023-08-09 18:04:29 +07:00
parent 88763038ff
commit a793ead63e
1 changed files with 29 additions and 7 deletions

View File

@ -1,8 +1,30 @@
--- ---
BasedOnStyle: LLVM BasedOnStyle: Google
IndentWidth: 4 AlignAfterOpenBracket: Align
ColumnLimit: 0 AlignConsecutiveAssignments: 'true'
--- AlignConsecutiveDeclarations: 'true'
Language: Cpp AlignOperands: 'true'
DerivePointerAlignment: false AllowAllParametersOfDeclarationOnNextLine: 'false'
PointerAlignment: Left AllowShortCaseLabelsOnASingleLine: 'false'
AllowShortFunctionsOnASingleLine: Empty
AllowShortLoopsOnASingleLine: 'false'
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: 'false'
BinPackArguments: 'true'
BinPackParameters: 'true'
ColumnLimit: '1000'
IndentCaseLabels: 'true'
IndentPPDirectives: AfterHash
IndentWidth: '4'
MaxEmptyLinesToKeep: '1'
PointerAlignment: Right
SortIncludes: 'false'
SpaceBeforeAssignmentOperators: 'true'
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: 'false'
SpacesBeforeTrailingComments: 1
TabWidth: '4'
UseTab: Never
...