From: Vibhav Pant Date: Wed, 30 Nov 2022 17:37:44 +0000 (+0530) Subject: ; Make clang-format format indent preprocessor blocks correctly. X-Git-Tag: emacs-29.0.90~1378 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a48cd7bb9f;p=emacs.git ; Make clang-format format indent preprocessor blocks correctly. (cherry picked from commit 1abda0c83981a6d35dd4b2dd3e88e9886d13cb09) --- diff --git a/.clang-format b/.clang-format index 2208240a669..016fb778383 100644 --- a/.clang-format +++ b/.clang-format @@ -7,6 +7,8 @@ BreakBeforeBinaryOperators: All BreakBeforeBraces: GNU ColumnLimit: 70 ContinuationIndentWidth: 2 +IndentPPDDirectives: AfterHash +PPIndentWidth: 1 ForEachMacros: - FOR_EACH_TAIL - FOR_EACH_TAIL_SAFE