diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-03-03 23:37:18 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-03-03 23:37:18 -0500 |
commit | fb4655beb17471be0bfe4c3c15b0f3d937204848 (patch) | |
tree | 472e20d5aa02fa234c5fc52b5238f6854459f1ca | |
parent | 4bfac00aa389487c4f11d34e7a3e96e4a1116800 (diff) | |
parent | c6df1b387cfe3f021704a3fd722578d55eb9d420 (diff) | |
download | rneovim-fb4655beb17471be0bfe4c3c15b0f3d937204848.tar.gz rneovim-fb4655beb17471be0bfe4c3c15b0f3d937204848.tar.bz2 rneovim-fb4655beb17471be0bfe4c3c15b0f3d937204848.zip |
Merge pull request #4390 from justinmk/clangformat
clang-format configuration
-rw-r--r-- | src/.clang-format | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/.clang-format b/src/.clang-format index 35e545ac4b..5a910ff34b 100644 --- a/src/.clang-format +++ b/src/.clang-format @@ -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 |