Skip to content

Commit

Permalink
Uncrustify: ternary operator indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Josar committed Jul 5, 2018
1 parent 61e8825 commit c6e5d97
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions uncrustify-riot.cfg
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
indent_with_tabs = 0 # 1=indent to level only, 2=indent with tabs
input_tab_size = 4 # original tab size
output_tab_size = 4 # new tab size
indent_columns = output_tab_size #
indent_label = 1 # pos: absolute col, neg: relative column
indent_switch_case = 4 # number
indent_with_tabs = 0 # 1=indent to level only, 2=indent with tabs
input_tab_size = 4 # original tab size
output_tab_size = 4 # new tab size
indent_columns = output_tab_size #
indent_label = 1 # pos: absolute col, neg: relative column
indent_switch_case = 4 # number
indent_ternary_operator = 2 # When the `:` is a continuation, indent it under `?`

#
# inter-symbol newlines
Expand Down

0 comments on commit c6e5d97

Please sign in to comment.