#
# Uncrustify Configuration File
# File Created With UncrustifyX 0.4.3 (252)
#

sp_enum_paren = remove
sp_cond_ternary_short = remove
indent_paren_open_brace = true



# Alignment
# ---------

## Alignment

# Align ObjC declaration params on colon
align_oc_decl_colon                     = true          # boolean (false/true)

## Alignment Span

# Alignment span for ObjC message colons
align_oc_msg_colon_span                 = 1             # number

# Blank Lines
# -----------

## Newline Count After

# Newline count after function body
nl_after_func_body                      = 2             # number

# Code-Modifying
# --------------

## Braces

# Braces on single-line do statement
mod_full_brace_do                       = add           # string (add/force/ignore/remove)

# Braces on single-line else statement
mod_full_brace_if                       = add           # string (add/force/ignore/remove)

# Braces on single-line for statement
mod_full_brace_for                      = add           # string (add/force/ignore/remove)

# Braces on single-line while statement
mod_full_brace_while                    = add           # string (add/force/ignore/remove)

# Indentation
# -----------

## Indentation

# Indent ObjC block
indent_oc_block                         = true          # boolean (false/true)

## Indentation Size

# Indentation column size
indent_columns                          = 4             # number

# Indentation size between case and switch
indent_switch_case                      = 4             # number

## Other

# Indent with tabs
indent_with_tabs                        = 0             # number

# Newlines
# --------

## Newline After

# Newline after brace close
nl_after_brace_close                    = true          # boolean (false/true)

# Newline after brace open
nl_after_brace_open                     = true          # boolean (false/true)

# Newline after case statement
nl_after_case                           = true          # boolean (false/true)

## Newline Between

# Newline between close brace and while
nl_brace_while                          = remove        # string (add/force/ignore/remove)

## Other

# Collapse empty blocks between braces
nl_collapse_empty_body                  = false          # boolean (false/true)

# Newlines at end of file
nl_end_of_file                          = add           # string (add/force/ignore/remove)

# Spacing
# -------

## Space After

# Space after ObjC block caret
sp_after_oc_block_caret                 = remove        # string (add/force/ignore/remove)

# Space after ObjC colon
sp_after_oc_colon                       = remove        # string (add/force/ignore/remove)

# Space after ObjC message colon
sp_after_send_oc_colon                  = remove        # string (add/force/ignore/remove)

# Space after ObjC property
sp_after_oc_property                    = add           # string (add/force/ignore/remove)

# Space after ObjC return type
sp_after_oc_return_type                 = remove        # string (add/force/ignore/remove)

# Space after ObjC scope
sp_after_oc_scope                       = force         # string (add/force/ignore/remove)

# Space after ObjC type
sp_after_oc_type                        = remove        # string (add/force/ignore/remove)

# Space after angle bracket
sp_after_angle                          = add           # string (add/force/ignore/remove)

# Space after comma
sp_after_comma                          = add           # string (add/force/ignore/remove)

# Space after condition close parenthesis
sp_after_sparen                         = add           # string (add/force/ignore/remove)

# Space after pointer star
sp_after_ptr_star                       = remove        # string (add/force/ignore/remove)

## Space Around

# Space around arithmetic operators
sp_arith                                = add           # string (add/force/ignore/remove)

# Space around assignment operator
sp_assign                               = add           # string (add/force/ignore/remove)

# Space around boolean operators
sp_bool                                 = add           # string (add/force/ignore/remove)

# Space around compare operators
sp_compare                              = add           # string (add/force/ignore/remove)

# Space around member operators
sp_member                               = remove        # string (add/force/ignore/remove)

# Space around ternary condition colon
sp_cond_colon                           = add           # string (add/force/ignore/remove)

# Space around ternary condition question mark
sp_cond_question                        = add           # string (add/force/ignore/remove)

## Space Before

# Space before ObjC block caret
sp_before_oc_block_caret                = ignore        # string (add/force/ignore/remove)

# Space before ObjC colon
sp_before_oc_colon                      = remove        # string (add/force/ignore/remove)

# Space before ObjC message colon
sp_before_send_oc_colon                 = remove        # string (add/force/ignore/remove)

# Space before backslash-newline at end of line

# Space before if/for/switch/while open parenthesis
sp_before_sparen                        = add           # string (add/force/ignore/remove)

# Space before pointer star
sp_before_ptr_star                      = add           # string (add/force/ignore/remove)

# Space before unnamed pointer star
sp_before_unnamed_ptr_star              = add           # string (add/force/ignore/remove)

## Space Between

# Space between angle brackets and word
sp_angle_word                           = add        # string (add/force/ignore/remove)

# Space between pointer stars
sp_between_ptr_star                     = remove        # string (add/force/ignore/remove)
