From c0fa5e2246457df10e92c2e11c971f2f40921793 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 18 Feb 2020 12:33:16 +0100 Subject: Rename the binary to rust-analyzer --- docs/user/readme.adoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/user') diff --git a/docs/user/readme.adoc b/docs/user/readme.adoc index 8f741aaa9..aa1994b49 100644 --- a/docs/user/readme.adoc +++ b/docs/user/readme.adoc @@ -64,14 +64,14 @@ To make VS Code use the freshly build server, add this to the settings: [source,json] ---- -{ "rust-analyzer.raLspServerPath": "ra_lsp_server" } +{ "rust-analyzer.raLspServerPath": "rust-analyzer" } ---- Note that installing via `xtask install` does not work for VS Code Remote, instead you'll need to install the `.vsix` manually. === Language Server Binary -Other editors generally require `ra_lsp_server` binary to be in `$PATH`. +Other editors generally require `rust-analyzer` binary to be in `$PATH`. You can download pre-build binary from https://github.com/rust-analyzer/rust-analyzer/releases[releases] page, or you can install it from source using the following command: @@ -117,7 +117,7 @@ The are several LSP client implementations for vim: [source,vim] ---- let g:LanguageClient_serverCommands = { -\ 'rust': ['ra_lsp_server'], +\ 'rust': ['rust-analyzer'], \ } ---- @@ -142,7 +142,7 @@ Installation: [source,json] ---- "rust-analyzer": { - "command": ["ra_lsp_server"], + "command": ["rust-analyzer"], "languageId": "rust", "scopes": ["source.rust"], "syntaxes": [ -- cgit v1.2.3