From af2aba904eeb689b72f5c074030b1d527b6777dc Mon Sep 17 00:00:00 2001 From: Micah Chalmer Date: Thu, 5 Sep 2013 22:25:41 -0400 Subject: Indent correctly after opening square bracket --- rust-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust-mode.el b/rust-mode.el index e8cfd05..e45cec9 100644 --- a/rust-mode.el +++ b/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 "#") -- cgit v1.2.3