From 6bcbdeb4ea1cc5855e5b2a7e8666c1c7e5ea22bb Mon Sep 17 00:00:00 2001 From: Cheng Ho Ming Date: Sat, 6 Apr 2024 18:22:24 +0800 Subject: [PATCH] clang-format: update class/struct indentation --- .clang-format | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.clang-format b/.clang-format index 090c0bd9..298e8420 100644 --- a/.clang-format +++ b/.clang-format @@ -1,20 +1,23 @@ --- Standard: Cpp11 Language: Cpp + UseTab: Never -IndentWidth: '4' +IndentWidth: 4 +TabWidth: 4 +IndentAccessModifiers: true + ColumnLimit: 0 BreakBeforeBraces: Custom BraceWrapping: BeforeElse: True -DerivePointerAlignment: 'false' +DerivePointerAlignment: false PointerAlignment: Middle IncludeBlocks: Preserve SortIncludes: Never -ReflowComments: 'true' - +ReflowComments: true ...