From c6e5d97154149a93b49c9811169a9d1f7d7a6479 Mon Sep 17 00:00:00 2001 From: Josarn Date: Thu, 5 Jul 2018 18:42:41 +0200 Subject: [PATCH] Uncrustify: ternary operator indentation --- uncrustify-riot.cfg | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/uncrustify-riot.cfg b/uncrustify-riot.cfg index 46e76e1f4b..d67a512f6f 100644 --- a/uncrustify-riot.cfg +++ b/uncrustify-riot.cfg @@ -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