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

Allow CARGO_HOME to be set in config #37

Open
lorenz opened this issue May 12, 2016 · 2 comments
Open

Allow CARGO_HOME to be set in config #37

lorenz opened this issue May 12, 2016 · 2 comments

Comments

@lorenz
Copy link

lorenz commented May 12, 2016

With a Multirust-rs/Rustup installation, the search path is no longer necessary, instead there is CARGO_HOME, which is needed to enable autocompletion on third-party crates. Can RustAutoComplete support that?

@dchammond
Copy link

@lorenz
I too am using a rustup installation. Can you show me what user preferences you set to allow this extension to keep working?

@lorenz
Copy link
Author

lorenz commented May 30, 2016

@dchammond
Are you using my fork? If yes, you can use

{
  "racer": "/home/your_user/.cargo/bin/racer",
  "cargo_home": "/home/your_user/.cargo",
  "search_paths": [
    "/wherever/you/clone/rust"
  ]
}

You need to have clone of the Rust repository for the autocompletion of the standard library to work and put its location into search_paths.

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

2 participants