Skip to content

Instantly share code, notes, and snippets.

@nicholastay
Last active May 23, 2022 11:13
Show Gist options
  • Save nicholastay/9eb6a455d6b17b810cd8e7bec2a5dfe7 to your computer and use it in GitHub Desktop.
Save nicholastay/9eb6a455d6b17b810cd8e7bec2a5dfe7 to your computer and use it in GitHub Desktop.
astyle settings for me
astyle \
--mode=c \
--style=linux \
--indent=tab=4 \
--break-one-line-headers \
--keep-one-line-blocks \
--align-pointer=name \
--pad-comma \
--pad-header \
--unpad-paren \
--pad-oper \
--attach-return-type \
--attach-closing-while \
--max-code-length=80 \
--indent-cases \
--indent-preproc-block \
--indent-preproc-define \
--lineend=linux \
--options=none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment