Skip to content

Instantly share code, notes, and snippets.

View Sir-Photch's full-sized avatar
🤬
*!?.#&=

Christoph Sir-Photch

🤬
*!?.#&=
View GitHub Profile
@Sir-Photch
Sir-Photch / .clang-format
Last active April 22, 2024 10:31 — forked from YodaEmbedding/.clang-format
.clang-format for Rust style (rustfmt)
AccessModifierOffset: -2
AlignAfterOpenBracket: BlockIndent # New in v14. For earlier clang-format versions, use AlwaysBreak instead.
AlignConsecutiveMacros: false
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlines: DontAlign
AlignOperands: false
AlignTrailingComments: false
AllowAllArgumentsOnNextLine: false
AllowAllConstructorInitializersOnNextLine: false