1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 14:10:06 +08:00

modify Racer installation docs to fit what I had to do (#2816)

This commit is contained in:
Andrew Lee 2019-05-11 03:52:31 -05:00 committed by Wang Shidong
parent 573107d7d3
commit 256e9b9c3d

View File

@ -19,16 +19,21 @@
" > " >
" rustup component add rust-src " rustup component add rust-src
" < " <
" 2. Install racer: " 2. Install Rust nightly build
"
" > " >
" cargo install racer " rustup install nightly
" < " <
" 3. Set the RUST_SRC_PATH variable in your .bashrc: " 3. Install racer:
" >
" cargo +nightly install racer
" <
" 4. Set the RUST_SRC_PATH variable in your .bashrc:
" > " >
" RUST_SRC_PATH=~/.multirust/toolchains/<change>/lib/rustlib/src/rust/src " RUST_SRC_PATH=~/.multirust/toolchains/<change>/lib/rustlib/src/rust/src
" export RUST_SRC_PATH " export RUST_SRC_PATH
" < " <
" 4. Add racer to your path, or set the path with: " 5. Add racer to your path, or set the path with:
" > " >
" let g:racer_cmd = "/path/to/racer/bin" " let g:racer_cmd = "/path/to/racer/bin"
" < " <