summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-09-24 11:05:20 -0400
committerpommicket <pommicket@gmail.com>2023-09-24 11:05:20 -0400
commit0414d5e872ccadebc5dcc04939824f921682f59a (patch)
tree9acf4d00ce6b70cc99945a5da8065f61e7fba713 /README.md
parentc8914d4aee5b03191587dd9b4ae2836df48665fb (diff)
update rust-analyzer installation instructions
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 3 insertions, 9 deletions
diff --git a/README.md b/README.md
index bf957ae..f31dae8 100644
--- a/README.md
+++ b/README.md
@@ -231,18 +231,12 @@ You can download it [here](https://github.com/python-lsp/python-lsp-server).
### Rust
-`rust-analyzer` is enabled by default. You can download it
-by following [the instructions here](https://rust-analyzer.github.io/manual.html#rust-analyzer-language-server-binary).
-On Linux you can install it with:
+`rust-analyzer` is enabled by default. You can install it with:
-```bash
-mkdir -p ~/.local/bin
-curl -L https://github.com/rust-lang/rust-analyzer/releases/latest/download/rust-analyzer-x86_64-unknown-linux-gnu.gz | gunzip -c - > ~/.local/bin/rust-analyzer
-chmod +x ~/.local/bin/rust-analyzer
+```sh
+rustup component add rust-analyzer
```
-(Assuming `~/.local/bin` is in your PATH.)
-
## Tags (lightweight LSP alternative)
If an LSP is too much for you, you can also use [ctags](https://github.com/universal-ctags/ctags)