aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Behrens <[email protected]>2019-12-01 18:29:01 +0000
committerJonathan Behrens <[email protected]>2019-12-01 18:29:49 +0000
commit75be6553fef0256bc57d438dac4b2f66473156f4 (patch)
tree2ea953a634c4f8deed2abe864d3c90239e08fc95
parentc69ed9bd1f83e172def2678550ab4dd7c1b1dc1a (diff)
Add back corrected `cargo install` command
-rw-r--r--docs/user/README.md16
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 @@
1The main interface to rust-analyzer is the 1The 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
3implementation. To install lsp server, clone the repository and 3install lsp server, clone the repository and then run `cargo xtask install
4then run `cargo xtask install --server`. This will produce a 4--server` (which is shorthand for `cargo install --path
5binary 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
6with any LSP-compatible editor. We use custom extensions to LSP, 6you should be able to use it with any LSP-compatible editor. We use custom
7so special client-side support is required to take full advantage 7extensions to LSP, so special client-side support is required to take full
8of rust-analyzer. This repository contains support code for VS 8advantage of rust-analyzer. This repository contains support code for VS Code
9Code and Emacs. 9and 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