зеркало из https://github.com/microsoft/git.git
Merge branch 'bw/git-clang-format'
Adjust clang-format penalty parameters. * bw/git-clang-format: clang-format: adjust line break penalties
This commit is contained in:
Коммит
4812340b78
|
@ -153,13 +153,13 @@ KeepEmptyLinesAtTheStartOfBlocks: false
|
|||
|
||||
# Penalties
|
||||
# This decides what order things should be done if a line is too long
|
||||
PenaltyBreakAssignment: 100
|
||||
PenaltyBreakBeforeFirstCallParameter: 100
|
||||
PenaltyBreakComment: 100
|
||||
PenaltyBreakAssignment: 10
|
||||
PenaltyBreakBeforeFirstCallParameter: 30
|
||||
PenaltyBreakComment: 10
|
||||
PenaltyBreakFirstLessLess: 0
|
||||
PenaltyBreakString: 100
|
||||
PenaltyExcessCharacter: 5
|
||||
PenaltyReturnTypeOnItsOwnLine: 0
|
||||
PenaltyBreakString: 10
|
||||
PenaltyExcessCharacter: 100
|
||||
PenaltyReturnTypeOnItsOwnLine: 5
|
||||
|
||||
# Don't sort #include's
|
||||
SortIncludes: false
|
||||
|
|
Загрузка…
Ссылка в новой задаче