[epiphany/uncrustify: 1/3] Update uncrustify config
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/uncrustify: 1/3] Update uncrustify config
- Date: Tue, 22 Mar 2016 04:50:33 +0000 (UTC)
commit 71a8f2ae4b7624e849d08345f59629d9a78cfac5
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Mon Mar 21 23:04:40 2016 -0500
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.
data/kr-gnome-indent.cfg | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/data/kr-gnome-indent.cfg b/data/kr-gnome-indent.cfg
index 8b647b5..0bcfaa2 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_
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]