From 719abc80c760f02cf1411c04492acf8a90f59c44 Mon Sep 17 00:00:00 2001 From: breki Date: Tue, 4 Aug 2026 14:59:44 +0000 Subject: [PATCH] match columnlimit in objC with c++ --- .clang-format | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.clang-format b/.clang-format index 039810cca..db9ae9ed3 100644 --- a/.clang-format +++ b/.clang-format @@ -113,7 +113,10 @@ BreakBeforeBraces: Custom BreakBeforeTernaryOperators: false BreakConstructorInitializers: AfterColon BreakStringLiterals: false -ColumnLimit: 120 +# Kept at 0 to match the Cpp section: some tools (e.g. CLion's ClangFormat +# integration) misclassify C++ .h files as ObjC and would otherwise re-wrap +# lines at the column limit. +ColumnLimit: 0 CompactNamespaces: false ConstructorInitializerAllOnOneLineOrOnePerLine: true ConstructorInitializerIndentWidth: 4