Skip to content

Commit 6c91e4d

Browse files
Thalleynashif
authored andcommitted
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 <[email protected]>
1 parent 2ec1a50 commit 6c91e4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.clang-format

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ IndentWidth: 8
8383
InsertBraces: true
8484
SpaceBeforeParens: ControlStatementsExceptControlMacros
8585
SortIncludes: Never
86-
UseTab: Always
86+
UseTab: ForContinuationAndIndentation
8787
WhitespaceSensitiveMacros:
8888
- STRINGIFY
8989
- Z_STRINGIFY

0 commit comments

Comments
 (0)