aboutsummaryrefslogtreecommitdiff
path: root/src/astyle.rc
diff options
context:
space:
mode:
Diffstat (limited to 'src/astyle.rc')
-rw-r--r--src/astyle.rc16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/astyle.rc b/src/astyle.rc
new file mode 100644
index 0000000..0c0c1bc
--- /dev/null
+++ b/src/astyle.rc
@@ -0,0 +1,16 @@
+## asytyle configuration for zexy
+# usage: astyle --options=astyle.conf *.c *.h
+
+## CRLF line-ending
+lineend=linux
+
+## make sure that code fits on an old-school terminal
+max-code-length=75
+# maximum indentation on continuation lines
+max-instatement-indent=40
+
+## "One True Brace Style"
+style=1tbs
+
+## hardly an indentation
+indent=spaces=2