From 54e92e699cd7abfc19eeb8c98703992661ae995d Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 11 Sep 2019 04:50:08 +0300 Subject: clarify sublime instructions closes #1811 --- docs/user/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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: ```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`. -- cgit v1.2.3