commit 1c90123d95d58161bf83ec6ff5be729d1ee6349c parent 41c097c15e2d49006847779773aeb9823a6d44d7 Author: Evgeny Grin (Karlson2k) <k2k@narod.ru> Date: Sun, 20 Sep 2020 22:02:28 +0300 uncrustify.cfg: updated Diffstat:
| M | contrib/uncrustify.cfg | | | 16 | ++++++++++++++++ |
1 file changed, 16 insertions(+), 0 deletions(-)
diff --git a/contrib/uncrustify.cfg b/contrib/uncrustify.cfg @@ -93,3 +93,19 @@ nl_func_type_name = force nl_else_brace = add nl_elseif_brace = add nl_for_brace = add + +# Whether to ignore the '#define' body while formatting. +pp_ignore_define_body = true # true/false + +# Add or remove space between #else or #endif and a trailing comment. +sp_endif_cmt = add # ignore/add/remove/force + +# The span for aligning comments that end lines. +# +# 0: Don't align (default). +align_right_cmt_span = 3 # unsigned number + +# Minimum number of columns between preceding text and a trailing comment in +# order for the comment to qualify for being aligned. Must be non-zero to have +# an effect. +align_right_cmt_gap = 2 # unsigned number