forked from media-explorer/media-explorer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
uncrustify.cfg
56 lines (50 loc) · 1.11 KB
/
uncrustify.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
indent_columns = 2
indent_with_tabs = 0
indent_align_string = true
indent_brace = 2
indent_braces_no_func = true
indent_extern = false
sp_arith = add
sp_assign = add
sp_enum_assign = add
sp_pp_concat = remove
sp_pp_stringify = remove
sp_bool = add
sp_compare = add
sp_inside_paren = remove
sp_paren_paren = remove
sp_before_ptr_star = add
sp_after_ptr_star = remove
sp_after_byref = remove
sp_before_sparen = add
sp_inside_sparen = remove
sp_before_squares = remove
sp_inside_square = remove
sp_after_comma = add
sp_after_cast = remove
sp_inside_paren_cast = remove
align_func_params = true
align_var_def_star_style = 2
nl_collapse_empty_body = true
nl_assign_leave_one_liners = true
nl_func_var_def_blk = 1
nl_enum_brace = add
nl_struct_brace = add
nl_union_brace = add
nl_if_brace = add
nl_brace_else = add
nl_elseif_brace = add
nl_else_brace = add
nl_for_brace = add
nl_while_brace = add
nl_do_brace = add
nl_switch_brace = add
nl_func_type_name = add
nl_func_paren = remove
nl_max = 2
pos_arith = trail
code_width = 80
mod_remove_extra_semicolon = true
cmt_star_cont = true
cmt_sp_before_star_cont = 1
cmt_sp_after_star_cont = 1