summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/uncrustify.cfg2
1 files changed, 2 insertions, 0 deletions
diff --git a/data/uncrustify.cfg b/data/uncrustify.cfg
index 58e86baa2..3883681ef 100644
--- a/data/uncrustify.cfg
+++ b/data/uncrustify.cfg
@@ -116,6 +116,8 @@ nl_assign_leave_one_liners = true
# Comments
cmt_cpp_to_c = true # "/* */" vs. "//"
+cmt_cpp_group = true # Group single line comments to block
+cmt_c_group = true
cmt_convert_tab_to_spaces = true
#cmt_reflow_mode = 2 # Full reflow (seems doesn't work quite well, it doesn't reorder the comments)
#cmt_width = 80 # Line width