From b2c2948438f20d0ec51dd335560bc08dca84d1a8 Mon Sep 17 00:00:00 2001 From: Jose Martins Date: Sat, 21 Oct 2023 17:49:20 +0100 Subject: [PATCH] update: .clang-format trailing comments option Signed-off-by: Jose Martins --- .clang-format | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.clang-format b/.clang-format index 3e70331..6aa6238 100644 --- a/.clang-format +++ b/.clang-format @@ -9,7 +9,9 @@ AlignConsecutiveBitFields: None AlignConsecutiveDeclarations: None AlignEscapedNewlines: Left AlignOperands: DontAlign -AlignTrailingComments: false +AlignTrailingComments: + Kind: Always + OverEmptyLines: 2 AllowAllArgumentsOnNextLine: false AllowAllParametersOfDeclarationOnNextLine: false AllowShortEnumsOnASingleLine: true