aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/user/README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/user/README.md b/docs/user/README.md
index fa202f06c..9d3258c06 100644
--- a/docs/user/README.md
+++ b/docs/user/README.md
@@ -44,7 +44,7 @@ $ cargo xtask install
44The automatic installation is expected to *just work* for common cases, if it 44The automatic installation is expected to *just work* for common cases, if it
45doesn't, report bugs! 45doesn't, report bugs!
46 46
47**Note** [#1831](https://github.com/rust-analyzer/rust-analyzer/issues/1831): If you are using the popular 47**Note** [#1831](https://github.com/rust-analyzer/rust-analyzer/issues/1831): If you are using the popular
48[Vim emulation plugin](https://github.com/VSCodeVim/Vim), you will likely 48[Vim emulation plugin](https://github.com/VSCodeVim/Vim), you will likely
49need to turn off the `rust-analyzer.enableEnhancedTyping` setting. 49need to turn off the `rust-analyzer.enableEnhancedTyping` setting.
50 50
@@ -58,7 +58,7 @@ $ cargo install --path ./crates/ra_lsp_server/ --force --locked
58$ cd ./editors/code 58$ cd ./editors/code
59$ npm install 59$ npm install
60$ ./node_modules/vsce/out/vsce package 60$ ./node_modules/vsce/out/vsce package
61$ code --install-extension ./ra-lsp-0.0.1.vsix 61$ code --install-extension ./rust-analyzer-0.1.0.vsix
62``` 62```
63 63
64It's better to remove existing Rust plugins to avoid interference. 64It's better to remove existing Rust plugins to avoid interference.
@@ -83,7 +83,7 @@ manually install the `.vsix` package:
833. Open the Extensions View (`View > Extensions`, keyboard shortcut: `Ctrl+Shift+X`). 833. Open the Extensions View (`View > Extensions`, keyboard shortcut: `Ctrl+Shift+X`).
844. From the top-right kebab menu (`···`) select `Install from VSIX...` 844. From the top-right kebab menu (`···`) select `Install from VSIX...`
855. Inside the `rust-analyzer` directory find the `editors/code` subdirectory and choose 855. Inside the `rust-analyzer` directory find the `editors/code` subdirectory and choose
86 the `ra-lsp-0.0.1.vsix` file. 86 the `rust-analyzer-0.1.0.vsix` file.
876. Restart Visual Studio Code and re-establish the connection to the remote host. 876. Restart Visual Studio Code and re-establish the connection to the remote host.
88 88
89In case of errors please make sure that `~/.cargo/bin` is in your `PATH` on the remote 89In case of errors please make sure that `~/.cargo/bin` is in your `PATH` on the remote
@@ -137,7 +137,7 @@ Prerequisites:
137Installation: 137Installation:
138 138
139* add 139* add
140[ra-emacs-lsp.el](../../editors/emacs/ra-emacs-lsp.el) 140[rust-analyzer.el](../../editors/emacs/rust-analyzer.el)
141to load path and require it in `init.el` 141to load path and require it in `init.el`
142* run `lsp` in a rust buffer 142* run `lsp` in a rust buffer
143* (Optionally) bind commands like `rust-analyzer-join-lines`, `rust-analyzer-extend-selection` and `rust-analyzer-expand-macro` to keys, and enable `rust-analyzer-inlay-hints-mode` to get inline type hints 143* (Optionally) bind commands like `rust-analyzer-join-lines`, `rust-analyzer-extend-selection` and `rust-analyzer-expand-macro` to keys, and enable `rust-analyzer-inlay-hints-mode` to get inline type hints