diff options
| author | Micah Chalmer <micah@micahchalmer.net> | 2013-09-05 22:25:41 -0400 |
|---|---|---|
| committer | Micah Chalmer <micah@micahchalmer.net> | 2013-09-06 01:02:19 -0400 |
| commit | af2aba904eeb689b72f5c074030b1d527b6777dc (patch) | |
| tree | eceaa3ca3e64832cc923f6034524b6e4b2fa02d7 /rust-mode.el | |
| parent | 0bf2920e1d3fc5cd5f14b4e89d2535c1a39315cd (diff) | |
| download | rust-mode-af2aba904eeb689b72f5c074030b1d527b6777dc.tar.gz | |
Indent correctly after opening square bracket
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 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 "#") |
