This commit is contained in:
Andrei Astafev 2019-10-02 14:20:36 +03:00
parent 11cb6c1536
commit c0b239f206

View File

@ -1961,7 +1961,7 @@ nl_property_brace = ignore # ignore/add/remove/force
# applicable, otherwise no change. # applicable, otherwise no change.
# #
# Overrides eat_blanks_after_open_brace and eat_blanks_before_close_brace. # Overrides eat_blanks_after_open_brace and eat_blanks_before_close_brace.
nl_inside_namespace = 0 # unsigned number nl_inside_namespace = 2 # unsigned number
# Whether to remove blank lines after '{'. # Whether to remove blank lines after '{'.
eat_blanks_after_open_brace = true # true/false eat_blanks_after_open_brace = true # true/false
@ -2547,27 +2547,27 @@ mod_remove_extra_semicolon = true # true/false
# If a function body exceeds the specified number of newlines and doesn't have # If a function body exceeds the specified number of newlines and doesn't have
# a comment after the close brace, a comment will be added. # a comment after the close brace, a comment will be added.
mod_add_long_function_closebrace_comment = 0 # unsigned number mod_add_long_function_closebrace_comment = 20 # unsigned number
# If a namespace body exceeds the specified number of newlines and doesn't # If a namespace body exceeds the specified number of newlines and doesn't
# have a comment after the close brace, a comment will be added. # have a comment after the close brace, a comment will be added.
mod_add_long_namespace_closebrace_comment = 0 # unsigned number mod_add_long_namespace_closebrace_comment = 5 # unsigned number
# If a class body exceeds the specified number of newlines and doesn't have a # If a class body exceeds the specified number of newlines and doesn't have a
# comment after the close brace, a comment will be added. # comment after the close brace, a comment will be added.
mod_add_long_class_closebrace_comment = 0 # unsigned number mod_add_long_class_closebrace_comment = 20 # unsigned number
# If a switch body exceeds the specified number of newlines and doesn't have a # If a switch body exceeds the specified number of newlines and doesn't have a
# comment after the close brace, a comment will be added. # comment after the close brace, a comment will be added.
mod_add_long_switch_closebrace_comment = 0 # unsigned number mod_add_long_switch_closebrace_comment = 20 # unsigned number
# If an #ifdef body exceeds the specified number of newlines and doesn't have # If an #ifdef body exceeds the specified number of newlines and doesn't have
# a comment after the #endif, a comment will be added. # a comment after the #endif, a comment will be added.
mod_add_long_ifdef_endif_comment = 0 # unsigned number mod_add_long_ifdef_endif_comment = 20 # unsigned number
# If an #ifdef or #else body exceeds the specified number of newlines and # If an #ifdef or #else body exceeds the specified number of newlines and
# doesn't have a comment after the #else, a comment will be added. # doesn't have a comment after the #else, a comment will be added.
mod_add_long_ifdef_else_comment = 0 # unsigned number mod_add_long_ifdef_else_comment = 20 # unsigned number
# Whether to take care of the case by the mod_sort_xx options. # Whether to take care of the case by the mod_sort_xx options.
mod_sort_case_sensitive = false # true/false mod_sort_case_sensitive = false # true/false