commit e59a724dedbabb09bc27c72a98d32d08a62ee892
parent 5cfb3d3b9695802d18d9a0b08a03c601c930aeed
Author: Florian Dold <florian.dold@gmail.com>
Date: Sun, 25 Aug 2019 16:09:31 +0200
uncrustify config tweaks
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git 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