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

Some elements are missing completion options #40

Open
Giels opened this issue May 3, 2016 · 1 comment
Open

Some elements are missing completion options #40

Giels opened this issue May 3, 2016 · 1 comment

Comments

@Giels
Copy link

Giels commented May 3, 2016

If I have

    let mut file = try!(File::open(file_path).map_err(|e| e.to_string()));
    let mut contents = String::new();

Then contents.<C-x C-o> gives a good list of completion options, all appropriate for String, showing that vim-racer is indeed working properly. However, file.<C-x C-o> doesn't find anything: Pattern not found. Things like read_to_string, which are properly defined for File, can successfully be used, and the program successfully compiles, however.

@Shougo
Copy link
Contributor

Shougo commented May 4, 2016

@Giels You should ask it in racer issue.
I don't know this is supported in racer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants