Skip to content

Commit

Permalink
Updated astyle config
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Litvinets committed Dec 24, 2014
1 parent 3a5436c commit bec83d9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,6 @@ src/controller/build_info.h
*.exe
*.out
*.app

# Astyle backups
*.orig
7 changes: 3 additions & 4 deletions astyle.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,19 @@
--indent=spaces=4

# Indentation
--indent-switches
--indent-preprocessor
--max-instatement-indent=80

# Padding
--pad-oper
--pad-paren-out
--pad-header
--align-pointer=type
--align-reference=type

# Formatting
--add-brackets
--keep-one-line-blocks
--keep-one-line-statements
--convert-tabs
--close-templates

# Other
--lineend=linux
Expand Down

0 comments on commit bec83d9

Please sign in to comment.