Skip to content

Instantly share code, notes, and snippets.

@henrytill
Last active July 23, 2023 23:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save henrytill/99430f6d235b804308cf4638279fb211 to your computer and use it in GitHub Desktop.
Save henrytill/99430f6d235b804308cf4638279fb211 to your computer and use it in GitHub Desktop.
AlignAfterOpenBracket: DontAlign
AlignConsecutiveMacros: true
AlignOperands: DontAlign
AlignTrailingComments: true
AllowAllArgumentsOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: Empty
AllowShortCaseLabelsOnASingleLine: true
AllowShortEnumsOnASingleLine: true
AllowShortFunctionsOnASingleLine: true
AllowShortLoopsOnASingleLine: true
BasedOnStyle: LLVM
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