Skip to content
This repository has been archived by the owner on Dec 8, 2023. It is now read-only.

Commit

Permalink
Add config for uncrustify
Browse files Browse the repository at this point in the history
  • Loading branch information
azat committed Oct 5, 2016
1 parent 7521664 commit 807e266
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions .uncrustify
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
input_tab_size = 8
output_tab_size = 8
indent_with_tabs = 2
indent_cmt_with_tabs = false
indent_brace_parent = false
indent_func_call_param = true
indent_func_def_param = true
sp_enum_before_assign = add
sp_enum_after_assign = add
sp_inside_paren = remove
sp_paren_brace = add
sp_before_ptr_star = add
sp_before_unnamed_ptr_star = add
sp_between_ptr_star = remove
sp_after_ptr_star = remove
sp_after_ptr_star_func = add
sp_before_ptr_star_func = add
sp_before_sparen = add
sp_inside_sparen = remove
sp_inside_sparen_close = remove
sp_after_sparen = add
sp_sparen_brace = add
sp_special_semi = remove
sp_before_semi_for = remove
sp_after_comma = add
sp_after_cast = remove
sp_inside_braces_struct = add
sp_type_func = remove
sp_func_def_paren = remove
sp_inside_fparen = remove
sp_fparen_brace = add
sp_func_call_paren = remove
sp_else_brace = add
sp_after_oc_block_caret = remove
align_keep_tabs = true
align_with_tabs = true
align_on_tabstop = true
nl_fcall_brace = remove
nl_enum_brace = remove
nl_struct_brace = remove
nl_union_brace = remove
nl_if_brace = remove
nl_brace_else = remove
nl_elseif_brace = remove
nl_else_brace = remove
nl_else_if = remove
nl_for_brace = remove
sp_after_semi_for_empty = remove
nl_while_brace = remove
nl_do_brace = remove
nl_brace_while = remove
nl_switch_brace = remove
nl_func_type_name = add
nl_fdef_brace = add
mod_paren_on_return = ignore

0 comments on commit 807e266

Please sign in to comment.