zig: Pin ZLS to v0.11.0 (#12173)
This PR updates the Zig extension to pin ZLS to v0.11.0, as the more recent releases of ZLS don't have `.tar.gz` assets available. Note that this depends on the next version of the `zed_extension_api`, which has yet to be released. Release Notes: - N/A
This commit is contained in:
@@ -39,13 +39,11 @@ impl ZigExtension {
|
||||
&language_server_id,
|
||||
&zed::LanguageServerInstallationStatus::CheckingForUpdate,
|
||||
);
|
||||
let release = zed::latest_github_release(
|
||||
"zigtools/zls",
|
||||
zed::GithubReleaseOptions {
|
||||
require_assets: true,
|
||||
pre_release: false,
|
||||
},
|
||||
)?;
|
||||
// We're pinning ZLS to a release that has `.tar.gz` assets, since the latest release does not have
|
||||
// them, at time of writing.
|
||||
//
|
||||
// ZLS tracking issue: https://github.com/zigtools/zls/issues/1879
|
||||
let release = zed::github_release_by_tag_name("zigtools/zls", "0.11.0")?;
|
||||
|
||||
let (platform, arch) = zed::current_platform();
|
||||
let asset_name = format!(
|
||||
|
||||
Reference in New Issue
Block a user