diff options
Diffstat (limited to 'share/uncrustify.cfg')
-rw-r--r-- | share/uncrustify.cfg | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/share/uncrustify.cfg b/share/uncrustify.cfg new file mode 100644 index 00000000..5ffcae08 --- /dev/null +++ b/share/uncrustify.cfg @@ -0,0 +1,44 @@ +indent_columns=2 +indent_align_string=true +indent_braces=false +indent_braces_no_func=false +indent_brace_parent=false +indent_namespace=false +indent_extern=false +indent_class=true +indent_class_colon=true +indent_else_if=false +indent_func_call_param=false +indent_func_def_param=false +indent_func_proto_param=false +indent_func_class_param=false +indent_func_ctor_var_param=false +indent_template_param=false +indent_func_param_double=false +indent_relative_single_line_comments=false +indent_col1_comment=true +indent_access_spec_body=false +indent_paren_nl=false +indent_comma_paren=false +indent_bool_paren=false +indent_square_nl=false +indent_preserve_sql=false +indent_align_assign=true + +nl_max=3 +nl_after_vbrace_close=true +nl_after_brace_close=true +nl_after_return=true +nl_before_return=true +nl_brace_else=remove +nl_if_brace=remove +nl_catch_brace=remove +nl_brace_catch=remove +nl_while_brace=remove +nl_finally_brace=remove + +sp_else_brace=add +sp_brace_else=add +sp_try_brace=add +sp_catch_brace=add +sp_brace_catch=add |