mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 02:34:59 -07:00
clang-format configuration
Recommend by oni-link at: https://github.com/neovim/neovim/pull/487#issuecomment-39935391
This commit is contained in:
parent
32238018e4
commit
c6df1b387c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user