Skip to content

Commit

Permalink
Indent correctly after opening square bracket
Browse files Browse the repository at this point in the history
  • Loading branch information
MicahChalmer committed Sep 6, 2013
1 parent e7d5af8 commit 1c527df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/etc/emacs/rust-mode.el
Expand Up @@ -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 "#")
Expand Down

0 comments on commit 1c527df

Please sign in to comment.