Formatting with .clang-format
Fixes https://github.com/raysan5/raylib/pull/5252#issuecomment-3403917757
This commit is contained in:
parent
aaf4c1d3ae
commit
abf991d1f0
17
.clang-format
Normal file
17
.clang-format
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
BasedOnStyle: Microsoft
|
||||||
|
AlignConsecutiveMacros: AcrossEmptyLinesAndComments
|
||||||
|
AlignEscapedNewlines: Left
|
||||||
|
AlignTrailingComments: true
|
||||||
|
AllowShortBlocksOnASingleLine: Always
|
||||||
|
AllowShortCaseLabelsOnASingleLine: true
|
||||||
|
AllowShortFunctionsOnASingleLine: All
|
||||||
|
AllowShortIfStatementsOnASingleLine: AllIfsAndElse
|
||||||
|
AlwaysBreakAfterReturnType: None
|
||||||
|
ColumnLimit: 9999
|
||||||
|
IndentWidth: 4
|
||||||
|
PointerAlignment: Right
|
||||||
|
SpaceInEmptyParentheses: false
|
||||||
|
SpacesInCStyleCastParentheses: false
|
||||||
|
TabWidth: 4
|
||||||
|
UseTab: Never
|
||||||
|
IndentPPDirectives: BeforeHash
|
||||||
Loading…
Reference in New Issue
Block a user