Uncrustify: ternary operator indentation
This commit is contained in:
parent
61e8825fa7
commit
c6e5d97154
@ -1,9 +1,10 @@
|
|||||||
indent_with_tabs = 0 # 1=indent to level only, 2=indent with tabs
|
indent_with_tabs = 0 # 1=indent to level only, 2=indent with tabs
|
||||||
input_tab_size = 4 # original tab size
|
input_tab_size = 4 # original tab size
|
||||||
output_tab_size = 4 # new tab size
|
output_tab_size = 4 # new tab size
|
||||||
indent_columns = output_tab_size #
|
indent_columns = output_tab_size #
|
||||||
indent_label = 1 # pos: absolute col, neg: relative column
|
indent_label = 1 # pos: absolute col, neg: relative column
|
||||||
indent_switch_case = 4 # number
|
indent_switch_case = 4 # number
|
||||||
|
indent_ternary_operator = 2 # When the `:` is a continuation, indent it under `?`
|
||||||
|
|
||||||
#
|
#
|
||||||
# inter-symbol newlines
|
# inter-symbol newlines
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user