diff options
| author | Eivind Fonn <evfonn@gmail.com> | 2016-01-15 17:39:19 +0100 |
|---|---|---|
| committer | Eivind Fonn <evfonn@gmail.com> | 2016-01-15 17:39:19 +0100 |
| commit | 6252cf188390992c3ea47842e75840fd63c7f6c1 (patch) | |
| tree | 2b6c3f92f886c303c0a3d63fab96f3b4dfc1de64 /rust-mode.el | |
| parent | 2cd3cf93853fc8e46011f4d98bd95ffa695c6257 (diff) | |
| download | rust-mode-6252cf188390992c3ea47842e75840fd63c7f6c1.tar.gz | |
Fix indentation of closing delimiters
Diffstat (limited to 'rust-mode.el')
| -rw-r--r-- | rust-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust-mode.el b/rust-mode.el index 4697c70..a1a3db4 100644 --- a/rust-mode.el +++ b/rust-mode.el @@ -373,7 +373,7 @@ function or trait. When nil, where will be aligned with fn or trait." (+ baseline rust-indent-offset)))) ;; A closing brace is 1 level unindented - ((looking-at "}") (- baseline rust-indent-offset)) + ((looking-at "[]})]") (- baseline rust-indent-offset)) ;; Doc comments in /** style with leading * indent to line up the *s ((and (nth 4 (syntax-ppss)) (looking-at "*")) |
