aboutsummaryrefslogtreecommitdiff
path: root/contrib/uncrustify.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/uncrustify.cfg')
-rw-r--r--contrib/uncrustify.cfg16
1 files changed, 16 insertions, 0 deletions
diff --git a/contrib/uncrustify.cfg b/contrib/uncrustify.cfg
index 8c9df2c4..72520189 100644
--- a/contrib/uncrustify.cfg
+++ b/contrib/uncrustify.cfg
@@ -93,3 +93,19 @@ nl_func_type_name = force
93nl_else_brace = add 93nl_else_brace = add
94nl_elseif_brace = add 94nl_elseif_brace = add
95nl_for_brace = add 95nl_for_brace = add
96
97# Whether to ignore the '#define' body while formatting.
98pp_ignore_define_body = true # true/false
99
100# Add or remove space between #else or #endif and a trailing comment.
101sp_endif_cmt = add # ignore/add/remove/force
102
103# The span for aligning comments that end lines.
104#
105# 0: Don't align (default).
106align_right_cmt_span = 3 # unsigned number
107
108# Minimum number of columns between preceding text and a trailing comment in
109# order for the comment to qualify for being aligned. Must be non-zero to have
110# an effect.
111align_right_cmt_gap = 2 # unsigned number