Skip to content

Commit 1c527df

Browse files
committed
Indent correctly after opening square bracket
1 parent e7d5af8 commit 1c527df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/etc/emacs/rust-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
(beginning-of-line)
101101
(rust-rewind-irrelevant)
102102
(end-of-line)
103-
(if (looking-back "[,;{}(][[:space:]]*\\(?://.*\\)?")
103+
(if (looking-back "[[,;{}(][[:space:]]*\\(?://.*\\)?")
104104
(* rust-indent-offset level)
105105
(back-to-indentation)
106106
(if (looking-at "#")

0 commit comments

Comments
 (0)