From bb064e0580bb29a1d0cdf9111d95c2dad61dbbbd Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Tue, 21 Jul 2020 23:49:14 +0200 Subject: [PATCH] uncrustify-riot.cfg: Don't indent switch cases `uncrustify` currently enforces that cases in a switch statement are indented, but the should be on the same level as the switch statement according to the coding convention. This commit fixes this. --- uncrustify-riot.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uncrustify-riot.cfg b/uncrustify-riot.cfg index 5ef98e8122..618f605cba 100644 --- a/uncrustify-riot.cfg +++ b/uncrustify-riot.cfg @@ -7,7 +7,7 @@ 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_switch_case = 0 # number indent_ternary_operator = 2 # When the `:` is a continuation, indent it under `?` #