aboutsummaryrefslogtreecommitdiff
path: root/docs/user
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-02-18 12:30:40 +0000
committerGitHub <[email protected]>2020-02-18 12:30:40 +0000
commitd05480a178b132e62b8aff8986a8cb3dd3a89c0b (patch)
tree0fc36373073a66c2bbd6c7cfae6cb734527d847f /docs/user
parent2768476e491d985317b08230824f96e6718f338a (diff)
parent865759925be6b72f7ef39124ed0e4c86c0412a69 (diff)
Merge pull request #3216 from matklad/rename-to-rust-analyzer
rename binary to rust-analyzer
Diffstat (limited to 'docs/user')
-rw-r--r--docs/user/readme.adoc10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/user/readme.adoc b/docs/user/readme.adoc
index 8f741aaa9..74fda0abe 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.serverPath": "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:
@@ -102,7 +102,7 @@ The are several LSP client implementations for vim:
1022. Run `:CocInstall coc-rust-analyzer` to install 1022. Run `:CocInstall coc-rust-analyzer` to install
103 https://github.com/fannheyward/coc-rust-analyzer[coc-rust-analyzer], 103 https://github.com/fannheyward/coc-rust-analyzer[coc-rust-analyzer],
104 this extension implements _most_ of the features supported in the VSCode extension: 104 this extension implements _most_ of the features supported in the VSCode extension:
105 * same configurations as VSCode extension, `rust-analyzer.raLspServerPath`, `rust-analyzer.enableCargoWatchOnStartup` etc. 105 * same configurations as VSCode extension, `rust-analyzer.serverPath`, `rust-analyzer.enableCargoWatchOnStartup` etc.
106 * same commands too, `rust-analyzer.analyzerStatus`, `rust-analyzer.startCargoWatch` etc. 106 * same commands too, `rust-analyzer.analyzerStatus`, `rust-analyzer.startCargoWatch` etc.
107 * highlighting and inlay_hints are not implemented yet 107 * highlighting and inlay_hints are not implemented yet
108 108
@@ -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": [