diff options
Diffstat (limited to '.astylerc')
-rw-r--r-- | .astylerc | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.astylerc b/.astylerc new file mode 100644 index 0000000..f7393c2 --- /dev/null +++ b/.astylerc @@ -0,0 +1,24 @@ +# Default style is used as a basis +# See http://astyle.sourceforge.net/astyle.html#_default_brace_style +# +# TODO: Struct members with overlong comments in server/global.h break +# in a very stupid way. Can we fix this here? +indent=force-tab=3 +attach-closing-while +indent-after-parens +indent-continuation=2 +# Space after if, while, for +pad-header +# Pad inside of parens +pad-paren-in +align-pointer=name +# Alignment with spaces +convert-tabs +max-code-length=120 +# Don't create backups +suffix=none +exclude=kernel +exclude=picohttpparser.c +exclude=picohttpdparser.h +exclude=crc32.c +exclude=inc/dnbd3 |