Skip to content

vim-lsp does not install rust-analyzer #1581

Open
@leitao

Description

This is happening because the "latest" release does not have an build. Only a few releases have the build.

A change like this fixed my problem:

diff --git a/installer/install-rust-analyzer.sh b/installer/install-rust-analyzer.sh
index f42518b..71e2fa5 100755
--- a/installer/install-rust-analyzer.sh
+++ b/installer/install-rust-analyzer.sh
@@ -42,7 +42,7 @@ mingw64_nt*)
   ;;
 esac

-curl -L -o "rust-analyzer-$platform.gz" "https://github.com/rust-analyzer/rust-analyzer/releases/latest/download/rust-analyzer-$platform.gz"
+curl -L -o "rust-analyzer-$platform.gz" "https://github.com/rust-lang/rust-analyzer/releases/download/2024-08-05/rust-analyzer-aarch64-apple-darwin.gz"
 gzip -d "rust-analyzer-$platform.gz"

 mv rust-analyzer-$platform rust-analyzer

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions