summaryrefslogtreecommitdiff
path: root/uncrustify.cfg
diff options
context:
space:
mode:
authorMatthew Leeds <matthew.leeds@endlessm.com>2019-02-22 13:57:04 -0800
committerAtomic Bot <atomic-devel@projectatomic.io>2019-02-25 18:12:30 +0000
commita0d3d65476888a8a73238c686d660205b0c95ed4 (patch)
tree2cec930cef186b659786d77b19dfc68a988c6578 /uncrustify.cfg
parent8d962a686fba8b752dc90494fb7b62ab457af229 (diff)
downloadflatpak-a0d3d65476888a8a73238c686d660205b0c95ed4.tar.gz
Remove extra newlines near curly braces
Edit uncrustify.cfg to add options to remove extra newlines near opening and closing braces, and run uncrustify again. Closes: #2715 Approved by: matthiasclasen
Diffstat (limited to 'uncrustify.cfg')
-rw-r--r--uncrustify.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/uncrustify.cfg b/uncrustify.cfg
index d781961f..4578f578 100644
--- a/uncrustify.cfg
+++ b/uncrustify.cfg
@@ -115,6 +115,9 @@ nl_create_while_one_liner False
nl_after_semicolon True
nl_multi_line_cond true
+eat_blanks_after_open_brace true
+eat_blanks_before_close_brace 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...