[epiphany] Update uncrustify config



commit 79c15f0bd0b4ca884026e85c9076984dcd992c4f
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]