aboutsummaryrefslogtreecommitdiff
path: root/docs/user/readme.adoc
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-02-18 11:33:16 +0000
committerAleksey Kladov <[email protected]>2020-02-18 11:33:16 +0000
commitc0fa5e2246457df10e92c2e11c971f2f40921793 (patch)
tree323d890c830b14c222113fa8617070c3b1fde3d2 /docs/user/readme.adoc
parent4d307ff8024c8d2d533bc3ab7aac1d63ca5c5977 (diff)
Rename the binary to rust-analyzer
Diffstat (limited to 'docs/user/readme.adoc')
-rw-r--r--docs/user/readme.adoc8
1 files changed, 4 insertions, 4 deletions
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:
64 64
65[source,json] 65[source,json]
66---- 66----
67{ "rust-analyzer.raLspServerPath": "ra_lsp_server" } 67{ "rust-analyzer.raLspServerPath": "rust-analyzer" }
68---- 68----
69 69
70Note that installing via `xtask install` does not work for VS Code Remote, instead you'll need to install the `.vsix` manually. 70Note that installing via `xtask install` does not work for VS Code Remote, instead you'll need to install the `.vsix` manually.
71 71
72=== Language Server Binary 72=== Language Server Binary
73 73
74Other editors generally require `ra_lsp_server` binary to be in `$PATH`. 74Other editors generally require `rust-analyzer` binary to be in `$PATH`.
75You can download pre-build binary from 75You can download pre-build binary from
76https://github.com/rust-analyzer/rust-analyzer/releases[releases] 76https://github.com/rust-analyzer/rust-analyzer/releases[releases]
77page, or you can install it from source using the following command: 77page, or you can install it from source using the following command:
@@ -117,7 +117,7 @@ The are several LSP client implementations for vim:
117[source,vim] 117[source,vim]
118---- 118----
119let g:LanguageClient_serverCommands = { 119let g:LanguageClient_serverCommands = {
120\ 'rust': ['ra_lsp_server'], 120\ 'rust': ['rust-analyzer'],
121\ } 121\ }
122---- 122----
123 123
@@ -142,7 +142,7 @@ Installation:
142[source,json] 142[source,json]
143---- 143----
144"rust-analyzer": { 144"rust-analyzer": {
145 "command": ["ra_lsp_server"], 145 "command": ["rust-analyzer"],
146 "languageId": "rust", 146 "languageId": "rust",
147 "scopes": ["source.rust"], 147 "scopes": ["source.rust"],
148 "syntaxes": [ 148 "syntaxes": [