]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
don't wrap lines
authorMartin Taibr <taibr.martin@gmail.com>
Thu, 21 Sep 2017 01:56:15 +0000 (03:56 +0200)
committerMartin Taibr <taibr.martin@gmail.com>
Thu, 21 Sep 2017 01:56:15 +0000 (03:56 +0200)
qcsrc/uncrustify.cfg

index cfc287905a198620296f5ea4cc86af4e1a100c50..d07b9dc54cc8d267eec9d108a945663510078b87 100644 (file)
@@ -1436,7 +1436,9 @@ pos_class_colon                          = ignore   # ignore/join/lead/lead_brea
 #
 
 # Try to limit code width to N number of columns
-code_width                               = 120      # number
+# I think a human makes a better call here than uncrustify, with 120 everything just ends up wrapped randomly and it's harder to read
+# old code that was written by clearly insane people will just have to be fixed manually
+code_width                               = 1200      # number
 
 # Whether to fully split long 'for' statements at semi-colons
 # WARNING: Code doesn't seem to use this feature - delete from the config?