Allow CARGO_HOME to be set in config
Opened this issue · 2 comments
lorenz commented
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 commented
@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 commented
@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
.