summaryrefslogtreecommitdiffstats
path: root/.astylerc
blob: f7393c22244d94d2e9079d4178320f0c43b70d12 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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