Skip to content

Instantly share code, notes, and snippets.

@henrytill
Last active July 15, 2024 20:02
Show Gist options
  • Save henrytill/99430f6d235b804308cf4638279fb211 to your computer and use it in GitHub Desktop.
Save henrytill/99430f6d235b804308cf4638279fb211 to your computer and use it in GitHub Desktop.
AccessModifierOffset: -8
AlignAfterOpenBracket: DontAlign
AlignConsecutiveMacros: true
AlignOperands: DontAlign
AlignTrailingComments: true
AllowAllArgumentsOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: Empty
AllowShortCaseLabelsOnASingleLine: true
AllowShortEnumsOnASingleLine: true
AllowShortFunctionsOnASingleLine: true
AllowShortLoopsOnASingleLine: true
BasedOnStyle: LLVM
AlwaysBreakAfterReturnType: AllDefinitions
BreakBeforeBinaryOperators: NonAssignment
BreakBeforeBraces: Linux
BreakBeforeTernaryOperators: true
ColumnLimit: 0
ContinuationIndentWidth: 8
DerivePointerAlignment: false
IndentCaseLabels: false
IndentWidth: 8
PointerAlignment: Right
ReflowComments: true
SortIncludes: false
SpacesBeforeTrailingComments: 1
TabWidth: 8
UseTab: ForContinuationAndIndentation
# This does horrible things to nested designated initializers when set
AlignArrayOfStructures: None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment