From 6c91e4dab0b04c47c844052b7a0c3751cc857e69 Mon Sep 17 00:00:00 2001 From: Emil Gydesen Date: Tue, 18 Apr 2023 14:46:32 +0200 Subject: [PATCH] clang-format: UseTab use ForContinuationAndIndentation Modify UseTab to use ForContinuationAndIndentation instead of always. This will only use tabs for indentation, and then spaces for alignment, which is the most commonly used approach in Zephyr. Signed-off-by: Emil Gydesen --- .clang-format | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.clang-format b/.clang-format index fdcd735fe28..d40d6c52362 100644 --- a/.clang-format +++ b/.clang-format @@ -83,7 +83,7 @@ IndentWidth: 8 InsertBraces: true SpaceBeforeParens: ControlStatementsExceptControlMacros SortIncludes: Never -UseTab: Always +UseTab: ForContinuationAndIndentation WhitespaceSensitiveMacros: - STRINGIFY - Z_STRINGIFY