Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

python: Fix ty archive extraction on Linux (#38917)

Derek Nguyen6470443271a9
diff --git a/crates/languages/src/python.rs b/crates/languages/src/python.rs
index b7c37d19bd1..a70137f3c2b 100644
--- a/crates/languages/src/python.rs
+++ b/crates/languages/src/python.rs
@@ -107,13 +107,13 @@ impl TyLspAdapter {
#[cfg(target_os = "linux")]
impl TyLspAdapter {
- const GITHUB_ASSET_KIND: AssetKind = AssetKind::Gz;
+ const GITHUB_ASSET_KIND: AssetKind = AssetKind::TarGz;
const ARCH_SERVER_NAME: &str = "unknown-linux-gnu";
}
#[cfg(target_os = "freebsd")]
impl TyLspAdapter {
- const GITHUB_ASSET_KIND: AssetKind = AssetKind::Gz;
+ const GITHUB_ASSET_KIND: AssetKind = AssetKind::TarGz;
const ARCH_SERVER_NAME: &str = "unknown-freebsd";
}