diff options
author | Ryan <fauxpark@gmail.com> | 2022-02-12 15:00:34 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-11 20:00:34 -0800 |
commit | e596ece87aac51f053f1f26f5f5bff964d7c351a (patch) | |
tree | 684cbe8a47acf1c048fe1f2d6b5f4fc1deba585c /.clang-format | |
parent | 17c0ca6fa4f7b6f65b4442c2f5bc32fee914b376 (diff) | |
download | qmk_firmware-e596ece87aac51f053f1f26f5f5bff964d7c351a.tar.gz qmk_firmware-e596ece87aac51f053f1f26f5f5bff964d7c351a.zip |
Clang-format tweaks (#15906)
Diffstat (limited to '.clang-format')
-rw-r--r-- | .clang-format | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format index b4f7967831..ce145e299c 100644 --- a/.clang-format +++ b/.clang-format @@ -5,6 +5,9 @@ AlignConsecutiveAssignments: 'true' AlignConsecutiveDeclarations: 'true' AlignOperands: 'true' AllowAllParametersOfDeclarationOnNextLine: 'false' +AllowShortCaseLabelsOnASingleLine: 'false' +AllowShortFunctionsOnASingleLine: Empty +AllowShortLoopsOnASingleLine: 'false' AlwaysBreakAfterDefinitionReturnType: None AlwaysBreakAfterReturnType: None AlwaysBreakBeforeMultilineStrings: 'false' @@ -20,6 +23,7 @@ SortIncludes: 'false' SpaceBeforeAssignmentOperators: 'true' SpaceBeforeParens: ControlStatements SpaceInEmptyParentheses: 'false' +SpacesBeforeTrailingComments: 1 TabWidth: '4' UseTab: Never |