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
|
||||
AlignOperands: DontAlign
|
||||
AlignTrailingComments: true
|
||||
AlignConsecutiveMacros: AcrossEmptyLines
|
||||
AlignConsecutiveMacros: Consecutive
|
||||
AlignEscapedNewlines: Left
|
||||
AlignArrayOfStructures: Left
|
||||
AlignConsecutiveAssignments: Consecutive
|
||||
AlignConsecutiveBitFields: AcrossEmptyLines
|
||||
AlignConsecutiveBitFields: Consecutive
|
||||
AlignConsecutiveDeclarations: Consecutive
|
||||
AlignConsecutiveShortCaseStatements:
|
||||
Enabled: true
|
||||
@@ -166,13 +166,18 @@ BitFieldColonSpacing: Both
|
||||
# ---------------------------
|
||||
# penalty settings
|
||||
# ---------------------------
|
||||
PenaltyBreakAssignment: 10
|
||||
PenaltyBreakBeforeFirstCallParameter: 30
|
||||
PenaltyBreakComment: 10
|
||||
PenaltyBreakFirstLessLess: 0
|
||||
PenaltyBreakString: 10
|
||||
PenaltyBreakAssignment: 2000
|
||||
PenaltyBreakBeforeFirstCallParameter: 5000
|
||||
PenaltyBreakBeforeMemberAccess: 2000
|
||||
PenaltyBreakComment: 1000
|
||||
PenaltyBreakFirstLessLess: 1500
|
||||
PenaltyBreakOpenParenthesis: 5000
|
||||
PenaltyBreakScopeResolution: 2000
|
||||
PenaltyBreakString: 2000
|
||||
PenaltyBreakTemplateDeclaration: 3000
|
||||
PenaltyExcessCharacter: 100
|
||||
PenaltyReturnTypeOnItsOwnLine: 60
|
||||
PenaltyIndentedWhitespace: 0
|
||||
PenaltyReturnTypeOnItsOwnLine: 10000
|
||||
|
||||
# ---------------------------
|
||||
# indentation details
|
||||
|
||||
Reference in New Issue
Block a user