From a9e668807953eda8c7c53a2672ac53bd5813f730 Mon Sep 17 00:00:00 2001 From: Ohad Livne Date: Wed, 4 Jun 2025 22:45:49 +0300 Subject: [PATCH] Install a language server for Rust --- .config/setup/22-install-rust-analyzer.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 .config/setup/22-install-rust-analyzer.sh diff --git a/.config/setup/22-install-rust-analyzer.sh b/.config/setup/22-install-rust-analyzer.sh new file mode 100755 index 0000000..4ad17d7 --- /dev/null +++ b/.config/setup/22-install-rust-analyzer.sh @@ -0,0 +1,5 @@ +#! /usr/bin/sh + +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