Обновление
This commit is contained in:
parent
22e5c84921
commit
4393c20a05
24
default.cfg
24
default.cfg
@ -1656,7 +1656,7 @@ nl_after_square_assign = ignore # ignore/add/remove/force/not_defined
|
|||||||
|
|
||||||
# Add or remove newline between a function call's ')' and '{', as in
|
# Add or remove newline between a function call's ')' and '{', as in
|
||||||
# 'list_for_each(item, &list) { }'.
|
# 'list_for_each(item, &list) { }'.
|
||||||
nl_fcall_brace = add # ignore/add/remove/force/not_defined
|
nl_fcall_brace = force # ignore/add/remove/force/not_defined
|
||||||
|
|
||||||
# Add or remove newline between 'enum' and '{'.
|
# Add or remove newline between 'enum' and '{'.
|
||||||
nl_enum_brace = force # ignore/add/remove/force/not_defined
|
nl_enum_brace = force # ignore/add/remove/force/not_defined
|
||||||
@ -1680,17 +1680,17 @@ nl_struct_brace = force # ignore/add/remove/force/not_defined
|
|||||||
nl_union_brace = force # ignore/add/remove/force/not_defined
|
nl_union_brace = force # ignore/add/remove/force/not_defined
|
||||||
|
|
||||||
# Add or remove newline between 'if' and '{'.
|
# Add or remove newline between 'if' and '{'.
|
||||||
nl_if_brace = force # ignore/add/remove/force/not_defined
|
nl_if_brace = remove # ignore/add/remove/force/not_defined
|
||||||
|
|
||||||
# Add or remove newline between '}' and 'else'.
|
# Add or remove newline between '}' and 'else'.
|
||||||
nl_brace_else = force # ignore/add/remove/force/not_defined
|
nl_brace_else = remove # ignore/add/remove/force/not_defined
|
||||||
|
|
||||||
# Add or remove newline between 'else if' and '{'. If set to ignore,
|
# Add or remove newline between 'else if' and '{'. If set to ignore,
|
||||||
# nl_if_brace is used instead.
|
# nl_if_brace is used instead.
|
||||||
nl_elseif_brace = force # ignore/add/remove/force/not_defined
|
nl_elseif_brace = force # ignore/add/remove/force/not_defined
|
||||||
|
|
||||||
# Add or remove newline between 'else' and '{'.
|
# Add or remove newline between 'else' and '{'.
|
||||||
nl_else_brace = force # ignore/add/remove/force/not_defined
|
nl_else_brace = remove # ignore/add/remove/force/not_defined
|
||||||
|
|
||||||
# Add or remove newline between 'else' and 'if'.
|
# Add or remove newline between 'else' and 'if'.
|
||||||
nl_else_if = force # ignore/add/remove/force/not_defined
|
nl_else_if = force # ignore/add/remove/force/not_defined
|
||||||
@ -1714,7 +1714,7 @@ nl_try_brace = ignore # ignore/add/remove/force/not_defined
|
|||||||
nl_getset_brace = ignore # ignore/add/remove/force/not_defined
|
nl_getset_brace = ignore # ignore/add/remove/force/not_defined
|
||||||
|
|
||||||
# Add or remove newline between 'for' and '{'.
|
# Add or remove newline between 'for' and '{'.
|
||||||
nl_for_brace = add # ignore/add/remove/force/not_defined
|
nl_for_brace = remove # ignore/add/remove/force/not_defined
|
||||||
|
|
||||||
# Add or remove newline before the '{' of a 'catch' statement, as in
|
# Add or remove newline before the '{' of a 'catch' statement, as in
|
||||||
# 'catch (decl) <here> {'.
|
# 'catch (decl) <here> {'.
|
||||||
@ -1738,7 +1738,7 @@ nl_brace_square = ignore # ignore/add/remove/force/not_defined
|
|||||||
nl_brace_fparen = ignore # ignore/add/remove/force/not_defined
|
nl_brace_fparen = ignore # ignore/add/remove/force/not_defined
|
||||||
|
|
||||||
# Add or remove newline between 'while' and '{'.
|
# Add or remove newline between 'while' and '{'.
|
||||||
nl_while_brace = add # ignore/add/remove/force/not_defined
|
nl_while_brace = remove # ignore/add/remove/force/not_defined
|
||||||
|
|
||||||
# (D) Add or remove newline between 'scope (x)' and '{'.
|
# (D) Add or remove newline between 'scope (x)' and '{'.
|
||||||
nl_scope_brace = ignore # ignore/add/remove/force/not_defined
|
nl_scope_brace = ignore # ignore/add/remove/force/not_defined
|
||||||
@ -1763,7 +1763,7 @@ nl_do_brace = ignore # ignore/add/remove/force/not_defined
|
|||||||
nl_brace_while = ignore # ignore/add/remove/force/not_defined
|
nl_brace_while = ignore # ignore/add/remove/force/not_defined
|
||||||
|
|
||||||
# Add or remove newline between 'switch' and '{'.
|
# Add or remove newline between 'switch' and '{'.
|
||||||
nl_switch_brace = add # ignore/add/remove/force/not_defined
|
nl_switch_brace = remove # ignore/add/remove/force/not_defined
|
||||||
|
|
||||||
# Add or remove newline between 'synchronized' and '{'.
|
# Add or remove newline between 'synchronized' and '{'.
|
||||||
nl_synchronized_brace = ignore # ignore/add/remove/force/not_defined
|
nl_synchronized_brace = ignore # ignore/add/remove/force/not_defined
|
||||||
@ -1862,7 +1862,7 @@ nl_template_var = ignore # ignore/add/remove/force/not_defined
|
|||||||
nl_template_using = ignore # ignore/add/remove/force/not_defined
|
nl_template_using = ignore # ignore/add/remove/force/not_defined
|
||||||
|
|
||||||
# Add or remove newline between 'class' and '{'.
|
# Add or remove newline between 'class' and '{'.
|
||||||
nl_class_brace = add # ignore/add/remove/force/not_defined
|
nl_class_brace = force # ignore/add/remove/force/not_defined
|
||||||
|
|
||||||
# Add or remove newline before or after (depending on pos_class_comma,
|
# Add or remove newline before or after (depending on pos_class_comma,
|
||||||
# may not be IGNORE) each',' in the base class list.
|
# may not be IGNORE) each',' in the base class list.
|
||||||
@ -2283,7 +2283,7 @@ nl_after_func_body_one_liner = 0 # unsigned number
|
|||||||
# of a function body.
|
# of a function body.
|
||||||
#
|
#
|
||||||
# 0: No change (default).
|
# 0: No change (default).
|
||||||
nl_func_var_def_blk = 1 # unsigned number
|
nl_func_var_def_blk = 0 # unsigned number
|
||||||
|
|
||||||
# The number of newlines before a block of typedefs. If nl_after_access_spec
|
# The number of newlines before a block of typedefs. If nl_after_access_spec
|
||||||
# is non-zero, that option takes precedence.
|
# is non-zero, that option takes precedence.
|
||||||
@ -2294,7 +2294,7 @@ nl_typedef_blk_start = 0 # unsigned number
|
|||||||
# The number of newlines after a block of typedefs.
|
# The number of newlines after a block of typedefs.
|
||||||
#
|
#
|
||||||
# 0: No change (default).
|
# 0: No change (default).
|
||||||
nl_typedef_blk_end = 1 # unsigned number
|
nl_typedef_blk_end = 0 # unsigned number
|
||||||
|
|
||||||
# The maximum number of consecutive newlines within a block of typedefs.
|
# The maximum number of consecutive newlines within a block of typedefs.
|
||||||
#
|
#
|
||||||
@ -2306,7 +2306,7 @@ nl_typedef_blk_in = 0 # unsigned number
|
|||||||
# that option takes precedence.
|
# that option takes precedence.
|
||||||
#
|
#
|
||||||
# 0: No change (default).
|
# 0: No change (default).
|
||||||
nl_var_def_blk_start = 1 # unsigned number
|
nl_var_def_blk_start = 0 # unsigned number
|
||||||
|
|
||||||
# The number of empty newlines after a block of variable definitions
|
# The number of empty newlines after a block of variable definitions
|
||||||
# not at the top of a function body.
|
# not at the top of a function body.
|
||||||
@ -3489,5 +3489,5 @@ debug_truncate = 0 # unsigned number
|
|||||||
# `macro-close END_MESSAGE_MAP`
|
# `macro-close END_MESSAGE_MAP`
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# option(s) with 'not default' value: 214
|
# option(s) with 'not default' value: 210
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user