1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #16147 from maribu/uncrustify-indent

uncrustify-riot.cfg: align uncrustify config
This commit is contained in:
Marian Buschsieweke 2021-03-04 17:16:07 +01:00 committed by GitHub
commit 365146c977
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ output_tab_size = 4 # new tab size
indent_columns = output_tab_size #
indent_label = 1 # pos: absolute col, neg: relative column
indent_switch_case = 0 # number
indent_ternary_operator = 2 # When the `:` is a continuation, indent it under `?`
indent_ternary_operator = 2 # When `:` is a continuation, indent it under `?`
#
# line splitting
@ -36,7 +36,7 @@ nl_fcall_brace = remove # "list_for_each() {" vs "list_for_each()\n{"
nl_fdef_brace = add # "int foo() {" vs "int foo()\n{"
nl_collapse_empty_body = true # set while(){\n} to while(){}
nl_end_of_file = add # fix no newline at end of file
nl_end_of_file_min = 1 #
nl_end_of_file_min = 1 # one new line at end of file
#
# Source code modifications
@ -74,7 +74,7 @@ sp_after_ptr_star = remove # ignore/add/remove/force
sp_between_ptr_star = remove # ignore/add/remove/force
sp_inside_paren = remove # remove spaces inside parens
sp_paren_paren = remove # remove spaces between nested parens
sp_inside_sparen = remove # remove spaces inside parens for if, while and the like
sp_inside_sparen = remove # remove spaces inside parens for if, while, ...
sp_inside_braces_empty = remove # force while(){ } to while(){}
#