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:
parent
e13a30f00f
commit
0897dbff75
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue