diff options
Diffstat (limited to 'docs/user/README.md')
-rw-r--r-- | docs/user/README.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/user/README.md b/docs/user/README.md index 8205fa404..5101e49b8 100644 --- a/docs/user/README.md +++ b/docs/user/README.md | |||
@@ -130,7 +130,7 @@ Installation: | |||
130 | 130 | ||
131 | ```json | 131 | ```json |
132 | "rust-analyzer": { | 132 | "rust-analyzer": { |
133 | "command": ["rustup", "run", "stable", "ra_lsp_server"], | 133 | "command": ["ra_lsp_server"], |
134 | "languageId": "rust", | 134 | "languageId": "rust", |
135 | "scopes": ["source.rust"], | 135 | "scopes": ["source.rust"], |
136 | "syntaxes": [ | 136 | "syntaxes": [ |
@@ -141,3 +141,5 @@ Installation: | |||
141 | ``` | 141 | ``` |
142 | 142 | ||
143 | * You can now invoke the command palette and type LSP enable to locally/globally enable the rust-analyzer LSP (type LSP enable, then choose either locally or globally, then select rust-analyzer) | 143 | * You can now invoke the command palette and type LSP enable to locally/globally enable the rust-analyzer LSP (type LSP enable, then choose either locally or globally, then select rust-analyzer) |
144 | |||
145 | * Note that `ra_lsp_server` binary must be in `$PATH` for this to work. If it's not the case, you can specify full path to the binary, which is typically `.cargo/bin/ra_lsp_server`. | ||