mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-30 00:34:56 +00:00
Add .clang-format
Based on
725fd84b5b/.clang-format
with the following changes:
1. Uncomments `BasedOnStyle: WebKit` to be explicit.
2. Adds:
AlignConsecutiveDeclarations: true
AlignConsecutiveMacros: true
This commit is contained in:
parent
61fe9fd1fe
commit
5b8d504817
35
.clang-format
Normal file
35
.clang-format
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
BasedOnStyle: WebKit
|
||||||
|
IndentWidth: 4
|
||||||
|
TabWidth: 4
|
||||||
|
UseTab: ForIndentation
|
||||||
|
|
||||||
|
BreakBeforeBraces: Allman
|
||||||
|
|
||||||
|
AlignAfterOpenBracket: true
|
||||||
|
AlignConsecutiveAssignments: true
|
||||||
|
AlignConsecutiveDeclarations: true
|
||||||
|
AlignConsecutiveMacros: true
|
||||||
|
AlignOperands: true
|
||||||
|
|
||||||
|
AllowShortBlocksOnASingleLine: false
|
||||||
|
AllowShortCaseLabelsOnASingleLine: false
|
||||||
|
AllowShortFunctionsOnASingleLine: Inline
|
||||||
|
AllowShortIfStatementsOnASingleLine: false
|
||||||
|
AllowShortLoopsOnASingleLine: false
|
||||||
|
|
||||||
|
NamespaceIndentation: Inner
|
||||||
|
|
||||||
|
SpaceAfterCStyleCast: false
|
||||||
|
SpaceBeforeParens: true
|
||||||
|
SpaceInEmptyParentheses: true
|
||||||
|
SpacesInAngles: true
|
||||||
|
SpacesInParentheses: true
|
||||||
|
SpacesBeforeTrailingComments: 1
|
||||||
|
|
||||||
|
IndentCaseLabels: false
|
||||||
|
IndentWrappedFunctionNames: true
|
||||||
|
|
||||||
|
PointerAlignment: Right
|
||||||
|
|
||||||
|
ColumnLimit: 0
|
||||||
|
BinPackArguments: false
|
Loading…
x
Reference in New Issue
Block a user