aboutsummaryrefslogtreecommitdiff
path: root/ClangFormat
diff options
context:
space:
mode:
authordx <aryadevchavali1@gmail.com>2020-05-12 16:38:53 +0100
committerdx <aryadevchavali1@gmail.com>2020-05-12 16:38:53 +0100
commit42b9443aa72c7042cba5bfef35c2e9196b964503 (patch)
treeda55594ca3940d1902cee9db533cdcfec1aefdda /ClangFormat
parente407b8078323cd4940bcc1dfca3a01110b6e4bac (diff)
downloaddotfiles-42b9443aa72c7042cba5bfef35c2e9196b964503.tar.gz
dotfiles-42b9443aa72c7042cba5bfef35c2e9196b964503.tar.bz2
dotfiles-42b9443aa72c7042cba5bfef35c2e9196b964503.zip
+clang format allow short loops
Eye candy.
Diffstat (limited to 'ClangFormat')
-rw-r--r--ClangFormat/.clang-format1
1 files changed, 1 insertions, 0 deletions
diff --git a/ClangFormat/.clang-format b/ClangFormat/.clang-format
index 7c41ad6..06cdd0f 100644
--- a/ClangFormat/.clang-format
+++ b/ClangFormat/.clang-format
@@ -3,6 +3,7 @@ BasedOnStyle: LLVM
IndentWidth: 2
AccessModifierOffset: -2
AlignAfterOpenBracket: Align
+AllowShortLoopsOnASingleLine: true
AllowShortLambdasOnASingleLine: Empty
AlwaysBreakTemplateDeclarations: Yes
BreakBeforeBraces: Custom