From c765de81d4614f41a9c6eed425471d227e06d663 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Wed, 29 Sep 2021 00:27:09 +0200 Subject: [PATCH] Fix clang-format for new ugly lambda indentations --- .clang-format | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.clang-format b/.clang-format index 99b39f193e..5ac13feb4b 100644 --- a/.clang-format +++ b/.clang-format @@ -1,5 +1,5 @@ Standard: c++20 -UseTab: ForIndentation +UseTab: AlignWithSpaces TabWidth: 4 IndentWidth: 4 AccessModifierOffset: -4 @@ -16,6 +16,7 @@ AllowShortBlocksOnASingleLine: Never AllowShortCaseLabelsOnASingleLine: true AllowShortFunctionsOnASingleLine: Empty AllowShortLoopsOnASingleLine: false +AllowShortLambdasOnASingleLine: Inline Cpp11BracedListStyle: true IndentCaseLabels: false SortIncludes: false