Skip to content

Commit

Permalink
Force single newline at end of file, don't over-indent blocks
Browse files Browse the repository at this point in the history
As suggested in #11.
  • Loading branch information
interstateone committed Oct 10, 2015
1 parent 3858357 commit 4385e36
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions uncrustify.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ indent_columns = 4 # number
indent_switch_case = 4 # number

# Indentation size for ObjC blocks in a message parameter
indent_oc_block_msg = 4 # number
indent_oc_block_msg = 0 # number

# Indentation size for ObjC message subsequent parameters
indent_oc_msg_colon = 4 # number
Expand Down Expand Up @@ -296,7 +296,8 @@ nl_while_brace = remove # string (add/force/igno
nl_oc_msg_leave_one_liner = true # boolean (false/true)

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

# Place ObjC message parameters on new lines
nl_oc_msg_args = false # boolean (false/true)
Expand Down

0 comments on commit 4385e36

Please sign in to comment.