diff options
author | Jonathan Behrens <[email protected]> | 2019-12-01 18:29:01 +0000 |
---|---|---|
committer | Jonathan Behrens <[email protected]> | 2019-12-01 18:29:49 +0000 |
commit | 75be6553fef0256bc57d438dac4b2f66473156f4 (patch) | |
tree | 2ea953a634c4f8deed2abe864d3c90239e08fc95 | |
parent | c69ed9bd1f83e172def2678550ab4dd7c1b1dc1a (diff) |
Add back corrected `cargo install` command
-rw-r--r-- | docs/user/README.md | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/user/README.md b/docs/user/README.md index 35c40164b..adacead52 100644 --- a/docs/user/README.md +++ b/docs/user/README.md | |||
@@ -1,12 +1,12 @@ | |||
1 | The main interface to rust-analyzer is the | 1 | The main interface to rust-analyzer is the |
2 | [LSP](https://microsoft.github.io/language-server-protocol/) | 2 | [LSP](https://microsoft.github.io/language-server-protocol/) implementation. To |
3 | implementation. To install lsp server, clone the repository and | 3 | install lsp server, clone the repository and then run `cargo xtask install |
4 | then run `cargo xtask install --server`. This will produce a | 4 | --server` (which is shorthand for `cargo install --path |
5 | binary named `ra_lsp_server` which you should be able to use it | 5 | ./crates/ra_lsp_server`). This will produce a binary named `ra_lsp_server` which |
6 | with any LSP-compatible editor. We use custom extensions to LSP, | 6 | you should be able to use it with any LSP-compatible editor. We use custom |
7 | so special client-side support is required to take full advantage | 7 | extensions to LSP, so special client-side support is required to take full |
8 | of rust-analyzer. This repository contains support code for VS | 8 | advantage of rust-analyzer. This repository contains support code for VS Code |
9 | Code and Emacs. | 9 | and Emacs. |
10 | 10 | ||
11 | ``` | 11 | ``` |
12 | $ git clone [email protected]:rust-analyzer/rust-analyzer && cd rust-analyzer | 12 | $ git clone [email protected]:rust-analyzer/rust-analyzer && cd rust-analyzer |