clang-format configuration

Recommend by oni-link at:
https://github.com/neovim/neovim/pull/487#issuecomment-39935391
This commit is contained in:
Justin M. Keyes 2016-03-02 02:14:15 -05:00
parent 32238018e4
commit c6df1b387c

View File

@ -1,4 +1,4 @@
BasedOnStyle: llvm
BasedOnStyle: Google
Language: Cpp
ColumnLimit: 80
IndentWidth: 2
@ -10,3 +10,9 @@ AlignEscapedNewlinesLeft: false
AllowShortFunctionsOnASingleLine: false
SpacesBeforeTrailingComments: 2
PenaltyReturnTypeOnItsOwnLine: 200
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
BinPackParameters: false
BreakBeforeBinaryOperators: true
ContinuationIndentWidth: 4