Skip to content

Commit

Permalink
Clarify CodingStyle with respect to tab compression of space runs
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Mick <[email protected]>
Reviewed-by: Greg Farnum <[email protected]>
Reviewed-by: Josh Durgin <[email protected]>
  • Loading branch information
Dan Mick committed Aug 31, 2012
1 parent fb37917 commit e920a61
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CodingStyle
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,14 @@ by section.
Don't sweat it, unless the license varies from that of the project
(LGPL2) or the code origin isn't reflected by the git history.

* Formatting > Tabs:
Indent width is two spaces. When runs of 8 spaces can be compressed
to a single tab character, do so. The standard Emacs/Vim settings
header is:

// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

* Formatting > Conditionals:

- No spaces inside conditionals please, e.g.
Expand Down

0 comments on commit e920a61

Please sign in to comment.