From d04ebdcad64a37591b5d367f3393470b73ee656b Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Sun, 12 Jan 2025 11:33:49 +0100 Subject: [PATCH] Some clearer formatting rules for breaking list initializers --- .clang-format | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.clang-format b/.clang-format index 5364839..4ebdfa3 100644 --- a/.clang-format +++ b/.clang-format @@ -5,3 +5,5 @@ TabWidth: 4 # Tab width is also 4 spaces UseTab: Never # Always use spaces instead of tabs ColumnLimit: 80 # Wrap lines after 80 characters AllowShortLoopsOnASingleLine: true +AlwaysBreakTemplateDeclarations: true +BreakConstructorInitializers: BeforeComma