mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -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
|
Language: Cpp
|
||||||
ColumnLimit: 80
|
ColumnLimit: 80
|
||||||
IndentWidth: 2
|
IndentWidth: 2
|
||||||
@ -10,3 +10,9 @@ AlignEscapedNewlinesLeft: false
|
|||||||
AllowShortFunctionsOnASingleLine: false
|
AllowShortFunctionsOnASingleLine: false
|
||||||
SpacesBeforeTrailingComments: 2
|
SpacesBeforeTrailingComments: 2
|
||||||
PenaltyReturnTypeOnItsOwnLine: 200
|
PenaltyReturnTypeOnItsOwnLine: 200
|
||||||
|
AllowAllParametersOfDeclarationOnNextLine: false
|
||||||
|
AllowShortIfStatementsOnASingleLine: false
|
||||||
|
AllowShortLoopsOnASingleLine: false
|
||||||
|
BinPackParameters: false
|
||||||
|
BreakBeforeBinaryOperators: true
|
||||||
|
ContinuationIndentWidth: 4
|
||||||
|
Loading…
Reference in New Issue
Block a user