]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lib.git/commitdiff
uncrustify: Do not wrap code and comments yet
authorMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 24 Nov 2014 14:45:08 +0000 (15:45 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 24 Nov 2014 15:09:19 +0000 (16:09 +0100)
During initial uncrustification, it is not a good idea to perform many
modifications at once, because some of them are not trivial to review.
Long line wrapping is one of them so we disable it for now.

etc/uncrustify.cfg

index 9abcc7d4e29b450cf8ed7609717b329700145cb6..da97ae80e7731518498d280172ade1ebe83a880e 100644 (file)
@@ -1122,7 +1122,7 @@ pos_class_colon                          = ignore   # ignore/lead/lead_break/lea
 #
 
 # Try to limit code width to N number of columns
-code_width                               = 100        # number
+code_width                               = 0        # number
 
 # Whether to fully split long 'for' statements at semi-colons
 ls_for_split_full                        = false    # false/true
@@ -1289,7 +1289,7 @@ mod_remove_empty_return                  = false    # false/true
 #
 
 # Try to wrap comments at cmt_width columns
-cmt_width                                = 100      # number
+cmt_width                                = 0      # number
 
 # Set the comment reflow mode (default: 0)
 # 0: no reflowing (apart from the line wrapping due to cmt_width)