Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
lsp/next-ls: Fix wrong nls binary being fetched.
Piotr Osiewicze63a611c8181
diff --git a/crates/zed/src/languages/elixir.rs b/crates/zed/src/languages/elixir.rsindex 5c0ff273ae3..df438d89eef 100644--- a/crates/zed/src/languages/elixir.rs+++ b/crates/zed/src/languages/elixir.rs@@ -321,8 +321,8 @@ impl LspAdapter for NextLspAdapter {latest_github_release("elixir-tools/next-ls", false, delegate.http_client()).await?;let version = release.name.clone();let platform = match consts::ARCH {- "x86_64" => "darwin_arm64",- "aarch64" => "darwin_amd64",+ "x86_64" => "darwin_amd64",+ "aarch64" => "darwin_arm64",other => bail!("Running on unsupported platform: {other}"),};let asset_name = format!("next_ls_{}", platform);