mirror of
https://github.com/neovim/neovim.git
synced 2025-10-04 00:46:30 +00:00
clang-format configuration
Recommend by oni-link at: https://github.com/neovim/neovim/pull/487#issuecomment-39935391
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user