Skip to content

Instantly share code, notes, and snippets.

@pmzqla
Last active August 29, 2015 14:10
Show Gist options
  • Save pmzqla/0243bb405341531e376f to your computer and use it in GitHub Desktop.
Save pmzqla/0243bb405341531e376f to your computer and use it in GitHub Desktop.
qBittorrent uncrustify config
set FOR foreach
newlines = LF
indent_with_tabs = 0
indent_columns = 4
indent_switch_case = 0
indent_access_spec_body = true
nl_enum_brace = remove
nl_union_brace = remove
nl_struct_brace = remove
nl_do_brace = remove
nl_if_brace = remove
nl_for_brace = remove
nl_else_brace = remove
nl_while_brace = remove
nl_switch_brace = remove
nl_brace_while = remove
nl_brace_else = remove
nl_try_brace = remove
nl_fcall_brace = remove
nl_fdef_brace = add
nl_after_return = false
nl_brace_else = add
mod_full_brace_if = remove
mod_full_brace_do = remove
mod_full_brace_while = remove
mod_full_brace_for = remove
mod_full_brace_if_chain = true
mod_full_brace_nl = 3
sp_else_brace = add
sp_try_brace = add
sp_arith = add
sp_assign = add
sp_defined_paren = ignore
sp_pp_concat = ignore
sp_pp_stringify = ignore
sp_after_class_colon = add
sp_before_class_colon = remove
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment