diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-09-11 02:50:47 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2019-09-11 02:50:47 +0100 |
commit | 92800961a03501f24c661bbb093e5078f504214d (patch) | |
tree | 1153bab0c03c9a076f83ed289ad49231bf216a65 /docs/user | |
parent | 73b4fea01502ea7d4381f711cde5210cefcb4e00 (diff) | |
parent | 54e92e699cd7abfc19eeb8c98703992661ae995d (diff) |
Merge #1812
1812: clarify sublime instructions r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'docs/user')
-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`. | ||