unless someone else is interested in writing it, the .clang-format isn't going to happen. as far as i can tell, it's far too buggy to be even remotely useful. maybe it's a skill issue on my part, no clue. for future reference, here's what i've got:
Language:Cpp # docs say to use Cpp for C as wellPointerAlignment:LeftColumnLimit:80IndentWidth:4ContinuationIndentWidth:4UseTab:AlwaysLineEnding:LFInsertBraces:trueBreakBeforeBraces:AttachBreakBeforeBinaryOperators:AllAllowShortFunctionsOnASingleLine:EmptyAllowShortCaseLabelsOnASingleLine:falseAllowShortIfStatementsOnASingleLine:trueAllowShortLoopsOnASingleLine:trueAlignOperands:AlignAlignAfterOpenBracket:BlockIndentAllowAllArgumentsOnNextLine:falseIndentCaseLabels:trueIndentCaseBlocks:trueIndentGotoLabels:trueSpaceBeforeCaseColon:falseSpaceBeforeParens:ControlStatementsSpacesBeforeTrailingComments:2SpaceBeforeAssignmentOperators:trueInsertNewlineAtEOF:true
unless someone else is interested in writing it, the `.clang-format` isn't going to happen. as far as i can tell, it's far too buggy to be even remotely useful. maybe it's a skill issue on my part, no clue. for future reference, here's what i've got:
```yaml
Language: Cpp # docs say to use Cpp for C as well
PointerAlignment: Left
ColumnLimit: 80
IndentWidth: 4
ContinuationIndentWidth: 4
UseTab: Always
LineEnding: LF
InsertBraces: true
BreakBeforeBraces: Attach
BreakBeforeBinaryOperators: All
AllowShortFunctionsOnASingleLine: Empty
AllowShortCaseLabelsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: true
AlignOperands: Align
AlignAfterOpenBracket: BlockIndent
AllowAllArgumentsOnNextLine: false
IndentCaseLabels: true
IndentCaseBlocks: true
IndentGotoLabels: true
SpaceBeforeCaseColon: false
SpaceBeforeParens: ControlStatements
SpacesBeforeTrailingComments: 2
SpaceBeforeAssignmentOperators: true
InsertNewlineAtEOF: true
```
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The formatting of some tools in this repository is out-of-hand. @silt and I will be working on a STYLE file in the root of the tree.
embedded into the styleguide will be a matching
.clang-formatfor the convenience of any interested partiesWe should also embed a
rustfmt.tomlfor Rust code.unless someone else is interested in writing it, the
.clang-formatisn't going to happen. as far as i can tell, it's far too buggy to be even remotely useful. maybe it's a skill issue on my part, no clue. for future reference, here's what i've got: