diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2012-08-27 11:54:22 -0700 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2012-08-27 11:54:22 -0700 |
| commit | 9f21b28002237270c7b08c1f288a1ef576655fae (patch) | |
| tree | dd5568f5ea8b580c6f1a26db9e12cf46d2d49ade /rust-mode.el | |
| parent | bda009dae6b5b11cb683068430e0764a1f05a50e (diff) | |
| download | rust-mode-9f21b28002237270c7b08c1f288a1ef576655fae.tar.gz | |
change to 4-space indents everywhere
Diffstat (limited to 'rust-mode.el')
| -rw-r--r-- | rust-mode.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rust-mode.el b/rust-mode.el index 2166f14..c2d1ac0 100644 --- a/rust-mode.el +++ b/rust-mode.el @@ -271,8 +271,7 @@ (setf cx parent parent (caddr (rust-state-context st)))) (let* ((tp (rust-context-type cx)) (closing (eq tp (char-after))) - (unit (if (member (rust-context-info cx) '(alt-inner alt-outer)) - (/ rust-indent-unit 2) rust-indent-unit)) + (unit rust-indent-unit) (base (if (and (eq tp 'statement) parent (rust-context-align parent)) (rust-context-column parent) (rust-context-indent cx)))) (cond ((eq tp 'comment) base) |
