From 2e95177f1b096ce232ba8bd01b28598a35f96392 Mon Sep 17 00:00:00 2001 From: El Date: Sat, 25 Oct 2025 15:44:51 +0000 Subject: [PATCH] VNC-151 Update .clang-format with new alignment and style rules --- .clang-format | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.clang-format b/.clang-format index bfc5077..e65cd03 100644 --- a/.clang-format +++ b/.clang-format @@ -3,6 +3,8 @@ Language: Cpp BasedOnStyle: LLVM AccessModifierOffset: -4 +AlignArrayOfStructures: Left +AlignAfterOpenBracket: DontAlign AlignConsecutiveAssignments: false AlignConsecutiveDeclarations: false AlignOperands: true @@ -35,7 +37,8 @@ BreakConstructorInitializers: AfterColon BreakConstructorInitializersBeforeComma: false ColumnLimit: 120 ConstructorInitializerAllOnOneLineOrOnePerLine: false -ContinuationIndentWidth: 8 +ContinuationIndentWidth: 4 +Cpp11BracedListStyle: true IncludeCategories: - Regex: '^<.*' Priority: 1 @@ -51,6 +54,7 @@ MacroBlockBegin: '' MacroBlockEnd: '' MaxEmptyLinesToKeep: 2 NamespaceIndentation: All +PackConstructorInitializers: Never SortIncludes: CaseSensitive SpaceAfterCStyleCast: true SpaceAfterTemplateKeyword: false