From e59a724dedbabb09bc27c72a98d32d08a62ee892 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sun, 25 Aug 2019 16:09:31 +0200 Subject: [PATCH] uncrustify config tweaks --- contrib/uncrustify.cfg | 6 ++++++ 1 file changed, 6 insertions(+) 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