uncrustify config tweaks

This commit is contained in:
Florian Dold 2019-08-25 16:09:31 +02:00
parent 5cfb3d3b96
commit e59a724ded
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -4,12 +4,16 @@ output_tab_size = 2
indent_columns = 2 indent_columns = 2
indent_with_tabs = 0 indent_with_tabs = 0
indent_case_brace = 2 indent_case_brace = 2
indent_label=0
code_width=80 code_width=80
cmd_width=80 cmd_width=80
# Leave most comments alone for now
cmt_indent_multi=false
sp_cmt_cpp_start=add sp_cmt_cpp_start=add
ls_for_split_full=true ls_for_split_full=true
ls_func_split_full=true ls_func_split_full=true
ls_code_width=true ls_code_width=true
@ -31,9 +35,11 @@ nl_brace_else=add
nl_elseif_brace=add nl_elseif_brace=add
nl_while_brace=add nl_while_brace=add
nl_switch_brace=add nl_switch_brace=add
# no newline between "else" and "if" # no newline between "else" and "if"
nl_else_if=remove nl_else_if=remove
nl_func_paren=remove
nl_assign_brace=remove nl_assign_brace=remove
# No extra newlines that cause noisy diffs # No extra newlines that cause noisy diffs