From 1c527dfcd466d9b5ea75fe199c364837298a4278 Mon Sep 17 00:00:00 2001 From: Micah Chalmer Date: Thu, 5 Sep 2013 22:25:41 -0400 Subject: [PATCH] Indent correctly after opening square bracket --- src/etc/emacs/rust-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/etc/emacs/rust-mode.el b/src/etc/emacs/rust-mode.el index e8cfd05a4f0..e45cec94797 100644 --- a/src/etc/emacs/rust-mode.el +++ b/src/etc/emacs/rust-mode.el @@ -100,7 +100,7 @@ (beginning-of-line) (rust-rewind-irrelevant) (end-of-line) - (if (looking-back "[,;{}(][[:space:]]*\\(?://.*\\)?") + (if (looking-back "[[,;{}(][[:space:]]*\\(?://.*\\)?") (* rust-indent-offset level) (back-to-indentation) (if (looking-at "#")