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
wilder/Plasma/6.2
Xaver Hugl 2 years ago
parent e13a30f00f
commit 0897dbff75
  1. 3
      .clang-format

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

Loading…
Cancel
Save