diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-08-25 16:09:31 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-08-25 16:13:11 +0200 |
commit | e59a724dedbabb09bc27c72a98d32d08a62ee892 (patch) | |
tree | a111d1db7ded11ff80a8772e0164b3234fd8bdb5 /contrib | |
parent | 5cfb3d3b9695802d18d9a0b08a03c601c930aeed (diff) |
uncrustify config tweaks
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/uncrustify.cfg | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/uncrustify.cfg b/contrib/uncrustify.cfg index c9ca76512..5360f1cae 100644 --- a/contrib/uncrustify.cfg +++ b/contrib/uncrustify.cfg @@ -4,12 +4,16 @@ output_tab_size = 2 indent_columns = 2 indent_with_tabs = 0 indent_case_brace = 2 +indent_label=0 code_width=80 cmd_width=80 +# Leave most comments alone for now +cmt_indent_multi=false sp_cmt_cpp_start=add + ls_for_split_full=true ls_func_split_full=true ls_code_width=true @@ -31,9 +35,11 @@ nl_brace_else=add nl_elseif_brace=add nl_while_brace=add nl_switch_brace=add + # no newline between "else" and "if" nl_else_if=remove +nl_func_paren=remove nl_assign_brace=remove # No extra newlines that cause noisy diffs |