summaryrefslogtreecommitdiffstats
path: root/ncurses-5.3/misc/indent.pro
diff options
context:
space:
mode:
Diffstat (limited to 'ncurses-5.3/misc/indent.pro')
-rw-r--r--ncurses-5.3/misc/indent.pro35
1 files changed, 35 insertions, 0 deletions
diff --git a/ncurses-5.3/misc/indent.pro b/ncurses-5.3/misc/indent.pro
new file mode 100644
index 0000000..14cf385
--- /dev/null
+++ b/ncurses-5.3/misc/indent.pro
@@ -0,0 +1,35 @@
+/* Use this with indent 2.0 (2.1 is not acceptable, since it has more bugs) */
+/* indent 4 columns */
+-i4
+/* tab stops every 8 columns */
+-ts8
+/* cuddle 'else' */
+-ce
+/* force blank lines after procedure body */
+-bap
+/* do not force newline after comma in declaration */
+-nbc
+/* do not force blank line after declarations */
+-nbad
+/* format braces inline */
+-br
+/* do not line up parentheses */
+-lp
+/* put the type of a procedure on the line before its name */
+-psl
+/* do not insert a space between procedure name and '(' */
+-npcs
+/* leave preprocessor space */
+-lps
+/* swallow optional blank lines */
+-sob
+/* continuation indent of 0 spaces */
+-ci0
+/* force space before semicolon on same line */
+-ss
+
+/* for vile */
+-T size_t
+-T LINE
+-T BUFFER
+-T WINDOW