Skip to content

Commit 2f0c84f

Browse files
Roy Crihfieldpnkfelix
authored andcommitted
rust-align-to-method-chain: Jump over symbols, not words
1 parent 5d0fce5 commit 2f0c84f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
((skip-dot-identifier
141141
(lambda ()
142142
(when (looking-back (concat "\\." rust-re-ident))
143-
(backward-word 1)
143+
(forward-thing 'symbol -1)
144144
(backward-char)
145145
(- (current-column) rust-indent-offset)))))
146146
(cond

0 commit comments

Comments
 (0)