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.

Rename `installation.rs` -> `github.rs` now that is all it concerns

Juliaee3ac9c3441a
diff --git a/crates/zed/src/languages.rs b/crates/zed/src/languages.rs
index 8eae806fdb9..c49c77f076d 100644
--- a/crates/zed/src/languages.rs
+++ b/crates/zed/src/languages.rs
@@ -9,9 +9,9 @@ use theme::ThemeRegistry;
mod c;
mod elixir;
+mod github;
mod go;
mod html;
-mod installation;
mod json;
mod language_plugin;
mod lua;
diff --git a/crates/zed/src/languages/c.rs b/crates/zed/src/languages/c.rs
index 1799dc2973a..906592fc2d4 100644
--- a/crates/zed/src/languages/c.rs
+++ b/crates/zed/src/languages/c.rs
@@ -1,4 +1,4 @@
-use super::installation::{latest_github_release, GitHubLspBinaryVersion};
+use super::github::{latest_github_release, GitHubLspBinaryVersion};
use anyhow::{anyhow, Context, Result};
use async_trait::async_trait;
use client::http::HttpClient;
diff --git a/crates/zed/src/languages/elixir.rs b/crates/zed/src/languages/elixir.rs
index 75b6ff18b2e..9f921a0c402 100644
--- a/crates/zed/src/languages/elixir.rs
+++ b/crates/zed/src/languages/elixir.rs
@@ -1,4 +1,4 @@
-use super::installation::{latest_github_release, GitHubLspBinaryVersion};
+use super::github::{latest_github_release, GitHubLspBinaryVersion};
use anyhow::{anyhow, Context, Result};
use async_trait::async_trait;
use client::http::HttpClient;
diff --git a/crates/zed/src/languages/installation.rs b/crates/zed/src/languages/github.rs
similarity index 100%
rename from crates/zed/src/languages/installation.rs
rename to crates/zed/src/languages/github.rs
diff --git a/crates/zed/src/languages/go.rs b/crates/zed/src/languages/go.rs
index b887aa10174..9af309839fe 100644
--- a/crates/zed/src/languages/go.rs
+++ b/crates/zed/src/languages/go.rs
@@ -1,4 +1,4 @@
-use super::installation::latest_github_release;
+use super::github::latest_github_release;
use anyhow::{anyhow, Result};
use async_trait::async_trait;
use client::http::HttpClient;
diff --git a/crates/zed/src/languages/lua.rs b/crates/zed/src/languages/lua.rs
index 37c3e364890..7ffdac5218c 100644
--- a/crates/zed/src/languages/lua.rs
+++ b/crates/zed/src/languages/lua.rs
@@ -10,7 +10,7 @@ use language::{LanguageServerBinary, LanguageServerName};
use smol::fs;
use util::{async_iife, ResultExt};
-use super::installation::{latest_github_release, GitHubLspBinaryVersion};
+use super::github::{latest_github_release, GitHubLspBinaryVersion};
#[derive(Copy, Clone)]
pub struct LuaLspAdapter;
diff --git a/crates/zed/src/languages/rust.rs b/crates/zed/src/languages/rust.rs
index 2fe063ed5ee..0f8e90d7b26 100644
--- a/crates/zed/src/languages/rust.rs
+++ b/crates/zed/src/languages/rust.rs
@@ -1,4 +1,4 @@
-use super::installation::{latest_github_release, GitHubLspBinaryVersion};
+use super::github::{latest_github_release, GitHubLspBinaryVersion};
use anyhow::{anyhow, Result};
use async_compression::futures::bufread::GzipDecoder;
use async_trait::async_trait;