summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngy döt Net <ingy@ingy.net>2017-01-10 17:56:45 +0100
committerIngy döt Net <ingy@ingy.net>2017-01-10 17:56:45 +0100
commit42a9e1fc174dce55f40746f70cff85affbccda81 (patch)
tree7c572df8345e8d1b94dfd9baf4793819df3ad3f3
parent8c92cad1142a878ed18bbbbcf94ad6e044284731 (diff)
downloadlibyaml-git-canonical-code-style.tar.gz
-rw-r--r--.indent.pro38
1 files changed, 37 insertions, 1 deletions
diff --git a/.indent.pro b/.indent.pro
index d647720..b442d35 100644
--- a/.indent.pro
+++ b/.indent.pro
@@ -1 +1,37 @@
--kr -nut -nce -l250
+-brs
+-c33
+-cd33
+-ci4
+-cli0
+-cp33
+-d0
+-di1
+-ip0
+-lp
+-nbc
+-ncdb
+-nfc1
+-nfca
+-nsc
+-nss
+/*
+*/
+
+-br /* Don't put { on next line */
+-cs /* Space after casts */
+-ncs
+-hnl /* Honor/prefer long line breaks from input */
+-i4 /* 4 space indent */
+-l80 /* Maximum line length for non-comment lines */
+/* These 4 options leave blank lines alone */
+-nbad -nbap -nbbb -nsob
+-nbbo /* Break long lines *after* boolean operators */
+-nlp /* No break between function type and name */
+-npcs /* No space between function call and ( */
+-npsl /* Type and function name on same line */
+-nprs /* No padding spaces inside parentheses */
+-nut /* Spaces instead of tabs for indentation */
+-nce /* Don't cuddle else statements */
+-saf /* Space after for */
+-sai /* Space after if */
+-saw /* Space after while */