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 From c855e36696afa54260773a6bc8a358df67d60dea Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 18 Feb 2020 12:35:44 +0100 Subject: Rename config value for server Path --- docs/user/readme.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/user') diff --git a/docs/user/readme.adoc b/docs/user/readme.adoc index aa1994b49..74fda0abe 100644 --- a/docs/user/readme.adoc +++ b/docs/user/readme.adoc @@ -64,7 +64,7 @@ To make VS Code use the freshly build server, add this to the settings: [source,json] ---- -{ "rust-analyzer.raLspServerPath": "rust-analyzer" } +{ "rust-analyzer.serverPath": "rust-analyzer" } ---- Note that installing via `xtask install` does not work for VS Code Remote, instead you'll need to install the `.vsix` manually. @@ -102,7 +102,7 @@ The are several LSP client implementations for vim: 2. Run `:CocInstall coc-rust-analyzer` to install https://github.com/fannheyward/coc-rust-analyzer[coc-rust-analyzer], this extension implements _most_ of the features supported in the VSCode extension: - * same configurations as VSCode extension, `rust-analyzer.raLspServerPath`, `rust-analyzer.enableCargoWatchOnStartup` etc. + * same configurations as VSCode extension, `rust-analyzer.serverPath`, `rust-analyzer.enableCargoWatchOnStartup` etc. * same commands too, `rust-analyzer.analyzerStatus`, `rust-analyzer.startCargoWatch` etc. * highlighting and inlay_hints are not implemented yet -- cgit v1.2.3