|
1 | | -# Uncrustify-0.80.1_f |
| 1 | +# Uncrustify-0.81.0_f |
2 | 2 |
|
3 | 3 | # |
4 | 4 | # General options |
@@ -881,6 +881,7 @@ sp_inv = remove # ignore/add/remove/force |
881 | 881 | sp_addr = remove # ignore/add/remove/force |
882 | 882 |
|
883 | 883 | # Add or remove space around the '.' or '->' operators. |
| 884 | +# also the c-sharp null-conditional operator '?.' |
884 | 885 | # |
885 | 886 | # Default: remove |
886 | 887 | sp_member = remove # ignore/add/remove/force |
@@ -1499,6 +1500,9 @@ indent_bool_paren = 0 # number |
1499 | 1500 | # parentheses. |
1500 | 1501 | indent_ignore_bool = false # true/false |
1501 | 1502 |
|
| 1503 | +# Whether to indent lines that are nested in boolean expression one more level for each nesting |
| 1504 | +indent_bool_nested_all = false # true/false |
| 1505 | + |
1502 | 1506 | # Whether to ignore the indentation of an arithmetic operator. |
1503 | 1507 | indent_ignore_arith = false # true/false |
1504 | 1508 |
|
@@ -2189,6 +2193,12 @@ nl_after_vbrace_close = false # true/false |
2189 | 2193 | # structures. If set to ignore, uses nl_after_brace_close. |
2190 | 2194 | nl_brace_struct_var = force # ignore/add/remove/force |
2191 | 2195 |
|
| 2196 | +# Whether to add a newline before/after each '&&' or `||` on the same |
| 2197 | +# nesting level in a boolean expression if boolean expression will not |
| 2198 | +# fit on a line. code_width needs to be positive and pos_bool needs |
| 2199 | +# to be 'lead' or 'trail' for this option to have any effect. |
| 2200 | +nl_bool_expr_hierarchical = false # true/false |
| 2201 | + |
2192 | 2202 | # Whether to alter newlines in '#define' macros. |
2193 | 2203 | nl_define_macro = false # true/false |
2194 | 2204 |
|
@@ -2505,7 +2515,7 @@ nl_before_access_spec = 0 # unsigned number |
2505 | 2515 | nl_after_access_spec = 0 # unsigned number |
2506 | 2516 |
|
2507 | 2517 | # The number of newlines between a function definition and the function |
2508 | | -# comment, as in '// comment\n <here> void foo() {...}'. |
| 2518 | +# comment, as in '/* comment */ <here> void foo() {...}'. |
2509 | 2519 | # |
2510 | 2520 | # 0: No change (default). |
2511 | 2521 | nl_comment_func_def = 0 # unsigned number |
|
0 commit comments