We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As described in comment of kwrooijen/cargo.el#41 I have problem with rust-beginning-of-defun.
rust-beginning-of-defun
With rust code in literal string rust-beginning-of-defun works in wrong way:
fn test1() { let s = r#" fn test2(); "#;<CURSOR_HERE> }
M-x rust-beginning-of-defun jumps to test2 not to test1 as expected.
M-x rust-beginning-of-defun
test2
test1
The text was updated successfully, but these errors were encountered:
Make rust-beginning-of-defun ignore comments and strings
1d4a75f
Change rust-beginning-of-defun to keep searching when it stops in a comment or a string. Fixes rust-lang#222.
If you try this patch out, and it works for you, let me know and I will merge it. Thanks.
Sorry, something went wrong.
@tromey
Thanks, I tested this patch and it works for me.
No branches or pull requests
As described in comment of kwrooijen/cargo.el#41 I have problem with
rust-beginning-of-defun
.With rust code in literal string
rust-beginning-of-defun
works in wrong way:M-x rust-beginning-of-defun
jumps totest2
not totest1
as expected.The text was updated successfully, but these errors were encountered: