[tracker/wip/sam/meson] Add example configuration 'uncrustify' formatting tool
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/wip/sam/meson] Add example configuration 'uncrustify' formatting tool
- Date: Sun, 25 Sep 2016 13:16:21 +0000 (UTC)
commit de09f8dced75199c24e169e1dbf735b256362d15
Author: Sam Thursfield <sam afuera me uk>
Date: Mon Jul 4 21:51:45 2016 +0100
Add example configuration 'uncrustify' formatting tool
This is useful for aligning variables in parameter names.
utils/uncrustify.cfg | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/utils/uncrustify.cfg b/utils/uncrustify.cfg
new file mode 100644
index 0000000..433c699
--- /dev/null
+++ b/utils/uncrustify.cfg
@@ -0,0 +1,13 @@
+# Configuration for formatting Tracker source code using the
+# 'uncrustify' indent tool.
+
+align_func_params = true
+
+align_var_def_star_style = 2
+
+sp_after_ptr_star = remove
+
+sp_after_semi_for = ignore
+sp_after_semi_for_empty = ignore
+
+align_nl_cont = true
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]