aboutsummaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-07-08 20:00:28 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-07-08 20:03:49 +0200
commita5e41aad196f0981f6f881a4f6e0a1c9f2d3e298 (patch)
treef1f0476bcb8f41f8b7fb88ebb67962147e101874 /.clang-format
parent6e4810bfd6794b7fd03803a6de12b8f896cc4654 (diff)
downloadlibquotient-a5e41aad196f0981f6f881a4f6e0a1c9f2d3e298.tar.gz
libquotient-a5e41aad196f0981f6f881a4f6e0a1c9f2d3e298.zip
clang-format: don't break lines before lambda body
Aside from breaking that line, the previous line - with connect*() - is often broken up too, making smaller lambdas consume much more vertical space.
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format2
1 files changed, 1 insertions, 1 deletions
diff --git a/.clang-format b/.clang-format
index f07bad67..4363a7e4 100644
--- a/.clang-format
+++ b/.clang-format
@@ -58,7 +58,7 @@ BraceWrapping:
# AfterExternBlock: false
# BeforeCatch: false
# BeforeElse: false
- BeforeLambdaBody: true
+# BeforeLambdaBody: false # Blows up lambdas vertically, even if they become _very_ readable
# BeforeWhile: false
# IndentBraces: false
SplitEmptyFunction: false