Skip to content

Commit c151811

Browse files
authored
Merge pull request #7007 from 0xc0170/fix_astyle_indentation
AStyle: Fix astyle indentation
2 parents 9986abe + f835c89 commit c151811

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.astylerc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ convert-tabs
1616

1717
# Indent switches and cases
1818
indent-switches
19-
indent-cases
2019

2120
# Remove spaces in and around parentheses
2221
unpad-paren
@@ -32,3 +31,7 @@ align-reference=name
3231
# Attach { for classes and namespaces
3332
attach-namespaces
3433
attach-classes
34+
35+
# Extend longer lines, define maximum 120 value. This results in aligned code,
36+
# otherwise the lines are broken and not consistent
37+
max-continuation-indent=120

0 commit comments

Comments
 (0)