emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 1abda0c839: ; Make clang-format format indent preprocessor blocks


From: Vibhav Pant
Subject: master 1abda0c839: ; Make clang-format format indent preprocessor blocks correctly.
Date: Wed, 30 Nov 2022 12:41:01 -0500 (EST)

branch: master
commit 1abda0c83981a6d35dd4b2dd3e88e9886d13cb09
Author: Vibhav Pant <vibhavp@gmail.com>
Commit: Vibhav Pant <vibhavp@gmail.com>

    ; Make clang-format format indent preprocessor blocks correctly.
---
 .clang-format | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.clang-format b/.clang-format
index 2208240a66..016fb77838 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]