uncrustify config tweaks
This commit is contained in:
parent
5cfb3d3b96
commit
e59a724ded
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user