diff options
author | pommicket <pommicket@gmail.com> | 2023-09-24 11:05:20 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-09-24 11:05:20 -0400 |
commit | 0414d5e872ccadebc5dcc04939824f921682f59a (patch) | |
tree | 9acf4d00ce6b70cc99945a5da8065f61e7fba713 | |
parent | c8914d4aee5b03191587dd9b4ae2836df48665fb (diff) |
update rust-analyzer installation instructions
-rw-r--r-- | README.md | 12 |
1 files changed, 3 insertions, 9 deletions
@@ -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) |