Skip to content
New issue

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

racer-find-definition can't be called non-interactively #117

Closed
Hi-Angel opened this issue Jan 23, 2019 · 0 comments
Closed

racer-find-definition can't be called non-interactively #117

Hi-Angel opened this issue Jan 23, 2019 · 0 comments

Comments

@Hi-Angel
Copy link
Contributor

Steps to reproduce

  1. Open test.rs with the following content:

    fn func() {}
    
    fn main() {
        func();
    }
  2. Enable racer-mode

  3. Place caret over func() call inside main, press M-:, type (racer-find-definition), press Enter.

Expected

Point should've jumped to fn func() {} on the 1st line, the same as it would if the command was executed with M-x instead.

Actual

Point doesn't move.

Hi-Angel added a commit to Hi-Angel/emacs-racer that referenced this issue Jan 23, 2019
Fixes: racer-rust#117

Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
Hi-Angel added a commit to Hi-Angel/emacs-racer that referenced this issue Jan 23, 2019
Fixes: racer-rust#117

Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
Hi-Angel added a commit to Hi-Angel/emacs-racer that referenced this issue Jan 23, 2019
Fixes: racer-rust#117

Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant