From c23500607f4762ea574591bffa4e9738cc92a3d4 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sat, 21 Aug 2021 00:31:40 +0200 Subject: [PATCH] clang-format: format operators more aesthetically --- .clang-format | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.clang-format b/.clang-format index b183aa9..19c58aa 100644 --- a/.clang-format +++ b/.clang-format @@ -13,4 +13,11 @@ AllowShortFunctionsOnASingleLine: Empty # Make them level AccessModifierOffset: -4 + +# It makes more sense this way +BreakBeforeBinaryOperators: All +BreakBeforeTernaryOperators: true + +# Aesthetic +AlignOperands: AlignAfterOperator ---