clang-format: change the indentation of lambdas

Instead of indenting lambdas to the start of the lambda, always indent them to the
start of the line, which is more consistent and easier to read
This commit is contained in:
Xaver Hugl 2024-03-18 02:28:06 +01:00
parent e13a30f00f
commit 0897dbff75

View file

@ -81,3 +81,6 @@ AllowShortLambdasOnASingleLine: Empty
# We do not want clang-format to put all arguments on a new line # We do not want clang-format to put all arguments on a new line
AllowAllArgumentsOnNextLine: false AllowAllArgumentsOnNextLine: false
# Indent lambdas to the start of the line, not to the start of the lambda
LambdaBodyIndentation: OuterScope