mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-28 05:53:45 +00:00
Merge #1812
1812: clarify sublime instructions r=matklad a=matklad Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
92800961a0
1 changed files with 3 additions and 1 deletions
|
@ -130,7 +130,7 @@ Installation:
|
|||
|
||||
```json
|
||||
"rust-analyzer": {
|
||||
"command": ["rustup", "run", "stable", "ra_lsp_server"],
|
||||
"command": ["ra_lsp_server"],
|
||||
"languageId": "rust",
|
||||
"scopes": ["source.rust"],
|
||||
"syntaxes": [
|
||||
|
@ -141,3 +141,5 @@ Installation:
|
|||
```
|
||||
|
||||
* 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)
|
||||
|
||||
* 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`.
|
||||
|
|
Loading…
Reference in a new issue