mirror of
https://github.com/thepigeongenerator/mcaselector-lite
synced 2026-02-07 23:28:09 +01:00
Rework some values in .clang-format for better consistency.
This commit is contained in:
@@ -24,11 +24,11 @@ AccessModifierOffset: -4
|
|||||||
AlignAfterOpenBracket: DontAlign
|
AlignAfterOpenBracket: DontAlign
|
||||||
AlignOperands: DontAlign
|
AlignOperands: DontAlign
|
||||||
AlignTrailingComments: true
|
AlignTrailingComments: true
|
||||||
AlignConsecutiveMacros: AcrossEmptyLines
|
AlignConsecutiveMacros: Consecutive
|
||||||
AlignEscapedNewlines: Left
|
AlignEscapedNewlines: Left
|
||||||
AlignArrayOfStructures: Left
|
AlignArrayOfStructures: Left
|
||||||
AlignConsecutiveAssignments: Consecutive
|
AlignConsecutiveAssignments: Consecutive
|
||||||
AlignConsecutiveBitFields: AcrossEmptyLines
|
AlignConsecutiveBitFields: Consecutive
|
||||||
AlignConsecutiveDeclarations: Consecutive
|
AlignConsecutiveDeclarations: Consecutive
|
||||||
AlignConsecutiveShortCaseStatements:
|
AlignConsecutiveShortCaseStatements:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
@@ -166,13 +166,18 @@ BitFieldColonSpacing: Both
|
|||||||
# ---------------------------
|
# ---------------------------
|
||||||
# penalty settings
|
# penalty settings
|
||||||
# ---------------------------
|
# ---------------------------
|
||||||
PenaltyBreakAssignment: 10
|
PenaltyBreakAssignment: 2000
|
||||||
PenaltyBreakBeforeFirstCallParameter: 30
|
PenaltyBreakBeforeFirstCallParameter: 5000
|
||||||
PenaltyBreakComment: 10
|
PenaltyBreakBeforeMemberAccess: 2000
|
||||||
PenaltyBreakFirstLessLess: 0
|
PenaltyBreakComment: 1000
|
||||||
PenaltyBreakString: 10
|
PenaltyBreakFirstLessLess: 1500
|
||||||
|
PenaltyBreakOpenParenthesis: 5000
|
||||||
|
PenaltyBreakScopeResolution: 2000
|
||||||
|
PenaltyBreakString: 2000
|
||||||
|
PenaltyBreakTemplateDeclaration: 3000
|
||||||
PenaltyExcessCharacter: 100
|
PenaltyExcessCharacter: 100
|
||||||
PenaltyReturnTypeOnItsOwnLine: 60
|
PenaltyIndentedWhitespace: 0
|
||||||
|
PenaltyReturnTypeOnItsOwnLine: 10000
|
||||||
|
|
||||||
# ---------------------------
|
# ---------------------------
|
||||||
# indentation details
|
# indentation details
|
||||||
|
|||||||
Reference in New Issue
Block a user