summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2018-07-07 18:12:14 +0200
committerAtomic Bot <atomic-devel@projectatomic.io>2018-07-08 10:05:37 +0000
commitf15d2937f0a07fb536901502c0c21a75560395fc (patch)
tree7d23b4f54585122fdce0bc1c5573c6d014b9a0e2
parentb5e6852a97b16981b588d47ff205be4fc7b7e021 (diff)
downloadflatpak-f15d2937f0a07fb536901502c0c21a75560395fc.tar.gz
uncrustify: Don't modify brackets
I don't think there is really an acceptable setting that does the right thing always, so disable any adding/removing of brackets. Closes: #1870 Approved by: alexlarsson
-rw-r--r--uncrustify.cfg13
1 files changed, 7 insertions, 6 deletions
diff --git a/uncrustify.cfg b/uncrustify.cfg
index 6d3ad565..d781961f 100644
--- a/uncrustify.cfg
+++ b/uncrustify.cfg
@@ -118,12 +118,13 @@ nl_multi_line_cond true
# mod
# I'd like these to be remove, but that removes brackets in if { if { foo } }, which i dislike
# Not clear what to do about that...
-mod_full_brace_for Remove
-mod_full_brace_if Remove
-mod_full_brace_if_chain True
-mod_full_brace_while Remove
-mod_full_brace_do Remove
-mod_full_brace_nl 3
+#mod_full_brace_for Remove
+#mod_full_brace_if Remove
+#mod_full_brace_if_chain True
+#mod_full_brace_while Remove
+#mod_full_brace_do Remove
+#mod_full_brace_nl 3
+
mod_paren_on_return Remove
# line splitting