diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/user/README.md | 8 |
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 | |||
44 | The automatic installation is expected to *just work* for common cases, if it | 44 | The automatic installation is expected to *just work* for common cases, if it |
45 | doesn't, report bugs! | 45 | doesn'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 |
49 | need to turn off the `rust-analyzer.enableEnhancedTyping` setting. | 49 | need 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 | ||
64 | It's better to remove existing Rust plugins to avoid interference. | 64 | It's better to remove existing Rust plugins to avoid interference. |
@@ -83,7 +83,7 @@ manually install the `.vsix` package: | |||
83 | 3. Open the Extensions View (`View > Extensions`, keyboard shortcut: `Ctrl+Shift+X`). | 83 | 3. Open the Extensions View (`View > Extensions`, keyboard shortcut: `Ctrl+Shift+X`). |
84 | 4. From the top-right kebab menu (`···`) select `Install from VSIX...` | 84 | 4. From the top-right kebab menu (`···`) select `Install from VSIX...` |
85 | 5. Inside the `rust-analyzer` directory find the `editors/code` subdirectory and choose | 85 | 5. 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. |
87 | 6. Restart Visual Studio Code and re-establish the connection to the remote host. | 87 | 6. Restart Visual Studio Code and re-establish the connection to the remote host. |
88 | 88 | ||
89 | In case of errors please make sure that `~/.cargo/bin` is in your `PATH` on the remote | 89 | In case of errors please make sure that `~/.cargo/bin` is in your `PATH` on the remote |
@@ -137,7 +137,7 @@ Prerequisites: | |||
137 | Installation: | 137 | Installation: |
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) |
141 | to load path and require it in `init.el` | 141 | to 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 |