]> git.eshelyaron.com Git - emacs.git/commitdiff
; Make clang-format format indent preprocessor blocks correctly.
authorVibhav Pant <vibhavp@gmail.com>
Wed, 30 Nov 2022 17:37:44 +0000 (23:07 +0530)
committerEli Zaretskii <eliz@gnu.org>
Fri, 2 Dec 2022 13:00:23 +0000 (15:00 +0200)
(cherry picked from commit 1abda0c83981a6d35dd4b2dd3e88e9886d13cb09)

.clang-format

index 2208240a66917003baeda1022c44112af8512d54..016fb778383cb67ac99ef1b0bf5ab3955616a02a 100644 (file)
@@ -7,6 +7,8 @@ BreakBeforeBinaryOperators: All
 BreakBeforeBraces: GNU
 ColumnLimit: 70
 ContinuationIndentWidth: 2
+IndentPPDDirectives: AfterHash
+PPIndentWidth: 1
 ForEachMacros:
   - FOR_EACH_TAIL
   - FOR_EACH_TAIL_SAFE