Skip to content

Commit 75be655

Browse files
committed
Add back corrected cargo install command
1 parent c69ed9b commit 75be655

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/user/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
The main interface to rust-analyzer is the
2-
[LSP](https://microsoft.github.io/language-server-protocol/)
3-
implementation. To install lsp server, clone the repository and
4-
then run `cargo xtask install --server`. This will produce a
5-
binary named `ra_lsp_server` which you should be able to use it
6-
with any LSP-compatible editor. We use custom extensions to LSP,
7-
so special client-side support is required to take full advantage
8-
of rust-analyzer. This repository contains support code for VS
9-
Code and Emacs.
2+
[LSP](https://microsoft.github.io/language-server-protocol/) implementation. To
3+
install lsp server, clone the repository and then run `cargo xtask install
4+
--server` (which is shorthand for `cargo install --path
5+
./crates/ra_lsp_server`). This will produce a binary named `ra_lsp_server` which
6+
you should be able to use it with any LSP-compatible editor. We use custom
7+
extensions to LSP, so special client-side support is required to take full
8+
advantage of rust-analyzer. This repository contains support code for VS Code
9+
and Emacs.
1010

1111
```
1212
$ git clone git@github.com:rust-analyzer/rust-analyzer && cd rust-analyzer

0 commit comments

Comments
 (0)