about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAnders Kaseorg <andersk@mit.edu>2013-08-28 18:09:02 -0400
committerAnders Kaseorg <andersk@mit.edu>2013-08-28 18:09:02 -0400
commit60e84809f0377d022a700b8e81456c52d0aebbc4 (patch)
tree647b34333c9708ad145fdceb6d5aecdf6ef5548b /src/rustllvm/RustWrapper.cpp
parent9c33ef5a7c24abe258be5c130dec1c77e72de86b (diff)
downloadrust-60e84809f0377d022a700b8e81456c52d0aebbc4.tar.gz
rust-60e84809f0377d022a700b8e81456c52d0aebbc4.zip
rust-mode: Default rust-indent-offset to 4, not default-tab-width
default-tab-width is standardly 8, but most programmers and style
guides prefer an indentation width smaller than that.  Rust itself
uses 4 space indents.  Most other Emacs modes define the indentation
width as 4 or 2 spaces, independently of the width of a Tab character.
Depending on default-tab-width makes especially little sense for
rust-mode because it sets indent-tabs-mode to nil.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions