Skip to content

Commit 90083e5

Browse files
proskimetalefty
authored andcommitted
Remove --break-blocks option, it doesn't match the existing code style
Strip trailing newlines.
1 parent f11eed3 commit 90083e5

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

astyle_config.as

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
# for C++ files only
99
--indent-classes
1010

11-
# Indent 'switch' blocks so that the 'case X:' statements are indented in the switch block.
11+
# Indent 'switch' blocks so that the 'case X:' statements are indented in the switch block.
1212
# The entire case block is indented.
1313
--indent-switches
1414

1515
# Add extra indentation to namespace blocks. This option has no effect on Java files.
1616
--indent-namespaces
1717

18-
# Converts tabs into spaces in the non-indentation part of the line.
19-
--convert-tabs
18+
# Converts tabs into spaces in the non-indentation part of the line.
19+
--convert-tabs
2020

2121
# requires --convert-tabs to work properly
2222
--indent-preprocessor
@@ -27,17 +27,14 @@
2727

2828
--max-instatement-indent=40
2929

30-
# Pad empty lines around header blocks (e.g. 'if', 'for', 'while'...).
31-
--break-blocks
32-
33-
# Insert space padding around operators.
30+
# Insert space padding around operators.
3431
--pad-oper
3532

36-
# Insert space padding after paren headers only (e.g. 'if', 'for', 'while'...).
33+
# Insert space padding after paren headers only (e.g. 'if', 'for', 'while'...).
3734
--pad-header
3835

3936

40-
# Add brackets to unbracketed one line conditional statements (e.g. 'if', 'for', 'while'...).
37+
# Add brackets to unbracketed one line conditional statements (e.g. 'if', 'for', 'while'...).
4138
--add-brackets
4239

4340
--align-pointer=name
@@ -46,12 +43,12 @@
4643
--suffix=none
4744

4845
# For each directory in the command line, process all subdirectories recursively.
49-
--recursive
46+
--recursive
5047

5148
# Preserve the original file's date and time modified.
5249
--preserve-date
5350
54-
# Formatted files display mode. Display only the files that have been formatted.
51+
# Formatted files display mode. Display only the files that have been formatted.
5552
# Do not display files that are unchanged.
5653
--formatted
5754

0 commit comments

Comments
 (0)