branch: elpa/rust-mode
commit 2f0c84fdccbfefe19611bb751af25a2401a79317
Author: Roy Crihfield <[email protected]>
Commit: Felix S. Klock II <[email protected]>
rust-align-to-method-chain: Jump over symbols, not words
---
rust-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rust-mode.el b/rust-mode.el
index 856ee5a..6df4ffc 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -140,7 +140,7 @@
((skip-dot-identifier
(lambda ()
(when (looking-back (concat "\\." rust-re-ident))
- (backward-word 1)
+ (forward-thing 'symbol -1)
(backward-char)
(- (current-column) rust-indent-offset)))))
(cond