File tree 1 file changed +12
-10
lines changed
1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -67,9 +67,9 @@ TabWidth: 4
67
67
IndentWidth : 4
68
68
69
69
# /
70
- # Always use tab characters to fill whitespace .
70
+ # Always use tab characters for indentation .
71
71
# /
72
- UseTab : Always
72
+ UseTab : ForIndentation
73
73
74
74
# /
75
75
# Always use `\n` for line endings.
@@ -254,21 +254,20 @@ AlignEscapedNewlines: DontAlign # NOTE: disabled due to very large column limit
254
254
AlignOperands : DontAlign
255
255
256
256
# /
257
- # Align trailing comments on consecutive lines .
257
+ # Leave trailing comments as they are .
258
258
#
259
259
# @example
260
- # // Good ...
260
+ # // Okay ...
261
261
# int a; // Comment
262
262
# int ab; // Comment
263
263
#
264
264
# @example
265
- # // Bad ...
265
+ # // Okay ...
266
266
# int a; // Comment
267
267
# int ab; // Comment
268
268
# /
269
269
AlignTrailingComments :
270
- Kind : Always
271
- OverEmptyLines : 0
270
+ Kind : Leave
272
271
273
272
# /
274
273
# Disallow putting arguments onto the next line.
@@ -819,22 +818,25 @@ EmptyLineBeforeAccessModifier: Always
819
818
FixNamespaceComments : true
820
819
821
820
# /
822
- # Always merge multiple `#include` blocks together and sort as one .
821
+ # Always preserve `#include` blocks and sort separately .
823
822
#
824
823
# @example
825
824
# // Good...
826
- # #include "a.h"
827
825
# #include "b.h"
826
+ #
827
+ # #include "a.h"
828
+ # #include "c.h"
828
829
# #include "<stdint.h>"
829
830
#
830
831
# @example
831
832
# // Bad...
832
833
# #include "b.h"
833
834
#
834
835
# #include "<stdint.h>"
836
+ # #include "c.h"
835
837
# #include "a.h"
836
838
# /
837
- IncludeBlocks : Merge
839
+ IncludeBlocks : Preserve
838
840
839
841
# /
840
842
# Define `#include` categories and assign ordering priorities.
You can’t perform that action at this time.
0 commit comments