# Basic indentation settings indent_columns = 4 indent_with_tabs = 1 indent_case_brace = 0 indent_switch_case = 4 indent_col1_comment = true indent_namespace = true indent_class = true indent_extern = true # Alignment settings align_assign_span = 1 align_assign_thresh = 0 align_enum_equ_span = 1 align_var_def_span = 1 align_var_def_thresh = 0 align_var_def_inline = true align_right_cmt_span = 1 align_pp_define_span = 1 align_typedef_span = 1 align_typedef_gap = 0 # Spacing settings sp_before_square = remove sp_inside_square = remove sp_after_comma = force sp_before_comma = remove sp_after_cast = remove sp_inside_paren = remove sp_inside_fparen = remove sp_inside_sparen = remove sp_before_sparen = force sp_after_operator = remove sp_after_operator_sym = remove sp_after_ptr_star = remove sp_before_ptr_star = force sp_between_ptr_star = remove # Code style settings mod_full_brace_do = force mod_full_brace_for = force mod_full_brace_if = force mod_full_brace_while = force mod_paren_on_return = remove mod_full_brace_nl = 1 mod_remove_extra_semicolon = true # Line breaking nl_after_brace_open = true nl_after_brace_close = true nl_after_return = true nl_before_case = true nl_fcall_brace = force nl_enum_brace = force nl_struct_brace = force nl_union_brace = force nl_if_brace = force nl_brace_else = force nl_elseif_brace = force nl_else_brace = force nl_else_if = remove nl_while_brace = force nl_do_brace = force nl_for_brace = force nl_max = 4 nl_after_func_proto = 2 nl_after_func_body = 2 # Template settings sp_inside_angle = remove sp_after_angle = force sp_angle_paren = remove sp_angle_word = force # Other settings cmt_indent_multi = true cmt_c_group = false cmt_cpp_group = false indent_func_call_param = true indent_func_def_param = true indent_func_proto_param = true indent_template_param = true indent_relative_single_line_comments = true # Preprocessor settings pp_indent = remove pp_space = remove # Column limit code_width = 160