[krb5-auth-dialog] Add indent expression
- From: Guido Günther <guidog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [krb5-auth-dialog] Add indent expression
- Date: Tue, 5 Oct 2010 10:57:03 +0000 (UTC)
commit 459ef5f45d99d8b2a27a7618942920dbc29918b6
Author: Guido Günther <agx sigxcpu org>
Date: Tue Oct 5 12:56:52 2010 +0200
Add indent expression
CodingStyle | 16 ++++++++++++++--
1 files changed, 14 insertions(+), 2 deletions(-)
---
diff --git a/CodingStyle b/CodingStyle
index 1d545d9..c4ae771 100644
--- a/CodingStyle
+++ b/CodingStyle
@@ -3,11 +3,23 @@ CodingStyle
- secmem/ keeps it's CodingStyle so we can merge easily with pinentry-gtk
- Public functions start with ka_
- The object in instance methods is called self
-- No tabs
-- Indent in four space units, no tabs:
+- Indent in four space units, no tabs
/*
* vim: set tabstop=4:
* vim: set shiftwidth=4:
* vim: set expandtab:
*/
+
+- The following indent expression is a good approximation:
+ indent --no-tabs \
+ --indent-level4 \
+ --space-after-procedure-calls \
+ --space-after-for \
+ --space-after-if \
+ --space-after-while \
+ --cuddle-else --braces-on-if-line \
+ --procnames-start-lines \
+ --braces-on-struct-decl-line \
+ --braces-after-func-def-line \
+ --blank-lines-after-declarations
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]