summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@igalia.com>2016-03-21 23:04:40 -0500
committerMichael Catanzaro <mcatanzaro@igalia.com>2016-03-29 13:03:12 -0500
commit79c15f0bd0b4ca884026e85c9076984dcd992c4f (patch)
tree3726b0cdc207f59b7cc572bf46479e63a31cc8a1 /data
parenta7f28dfbbaeb3cd89dc86cedd6ab571a8542af3e (diff)
downloadepiphany-79c15f0bd0b4ca884026e85c9076984dcd992c4f.tar.gz
Update uncrustify config
Known deficiencies: * Doesn't align function prototypes properly, so it's not fit for use on header files yet. I don't care about prototypes in source files, because they should usually be eliminated by rearranging functions. * Leaves two spaces after "else" sometimes; I think this is a one-time issue, best fixed manually.
Diffstat (limited to 'data')
-rw-r--r--data/kr-gnome-indent.cfg16
1 files changed, 16 insertions, 0 deletions
diff --git a/data/kr-gnome-indent.cfg b/data/kr-gnome-indent.cfg
index 8b647b559..0bcfaa284 100644
--- a/data/kr-gnome-indent.cfg
+++ b/data/kr-gnome-indent.cfg
@@ -98,3 +98,19 @@ sp_func_proto_paren = force # "int foo ();" vs "int foo();"
sp_before_ptr_star = add
sp_after_ptr_star = remove
indent_switch_case = indent_columns
+
+align_func_params = true
+align_single_line_func = true
+align_var_def_star_style = 2
+#cmt_cpp_nl_end = true # wanted?
+cmt_cpp_to_c = true # "/* */" vs. "//"
+#cmt_star_cont = true # wanted?
+newlines = lf
+sp_after_ptr_star_qualifier = force # "const char * const" vs. "const char *const"
+sp_between_ptr_star = remove
+sp_brace_else = add
+sp_func_call_user_paren = remove # For gettext, "_()" vs. "_ ()"
+utf8_bom = remove
+utf8_force = true
+
+set func_call_user _ N_ C_