Skip to content

Commit

Permalink
Merge pull request #1375 from keyboardio/f/pr1282
Browse files Browse the repository at this point in the history
Update our clang-format config with @gedankenexperimenter's recommended clang-format-15 settings.
  • Loading branch information
obra authored Dec 21, 2023
2 parents fe2e3e7 + 6a8a25e commit 86faed2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ AttributeMacros:
- __attribute__((unused))
BinPackArguments: false
BinPackParameters: false
# BraceWrapping:
# SplitEmptyFunction: false
# SplitEmptyRecord: true
# SplitEmptyNamespace: true
# BreakBeforeBraces: Custom
BraceWrapping:
SplitEmptyFunction: false
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakBeforeBraces: Custom
ColumnLimit: 0
ConstructorInitializerIndentWidth: 2
ContinuationIndentWidth: 2
Expand All @@ -39,9 +39,9 @@ FixNamespaceComments: true
IndentCaseLabels: false
KeepEmptyLinesAtTheStartOfBlocks: true
MaxEmptyLinesToKeep: 2
# PackConstructorInitializers: CurrentLine
PackConstructorInitializers: NextLine
PointerAlignment: Right
# ReferenceAlignment: Right
ReferenceAlignment: Right
ReflowComments: false
SortIncludes: false
SpaceAfterTemplateKeyword: false

0 comments on commit 86faed2

Please sign in to comment.