aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-03-29 17:34:50 +0200
committerJustin M. Keyes <justinkz@gmail.com>2018-11-28 03:48:06 +0100
commit67305ffb5de865f872898c03cbacd189c9e9aa53 (patch)
tree16f59a842ca855bc0f959a063b975bafa741bdec
parent519224f6bd248b419d16720d23417c6ed8df447b (diff)
downloadrneovim-67305ffb5de865f872898c03cbacd189c9e9aa53.tar.gz
rneovim-67305ffb5de865f872898c03cbacd189c9e9aa53.tar.bz2
rneovim-67305ffb5de865f872898c03cbacd189c9e9aa53.zip
lint: src/.clang-format
Move to top level so that clang-format -style=file can find it regardless of current directory.
-rw-r--r--.clang-format (renamed from src/.clang-format)2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/.clang-format b/.clang-format
index 5a910ff34b..ff61915aac 100644
--- a/src/.clang-format
+++ b/.clang-format
@@ -8,6 +8,7 @@ IndentCaseLabels: true
BreakBeforeBraces: Linux
AlignEscapedNewlinesLeft: false
AllowShortFunctionsOnASingleLine: false
+AlignTrailingComments: true
SpacesBeforeTrailingComments: 2
PenaltyReturnTypeOnItsOwnLine: 200
AllowAllParametersOfDeclarationOnNextLine: false
@@ -15,4 +16,5 @@ AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
BinPackParameters: false
BreakBeforeBinaryOperators: true
+BreakBeforeTernaryOperators: true
ContinuationIndentWidth: 4