Fix compile and test errors

Mikayla created

Change summary

crates/zed/src/languages/elixir_next.rs | 5 ++---
crates/zed/src/zed.rs                   | 1 +
2 files changed, 3 insertions(+), 3 deletions(-)

Detailed changes

crates/zed/src/languages/elixir_next.rs 🔗

@@ -1,13 +1,12 @@
 use anyhow::{anyhow, bail, Result};
-use async_compression::futures::bufread::GzipDecoder;
-use async_tar::Archive;
+
 use async_trait::async_trait;
 pub use language::*;
 use lsp::{LanguageServerBinary, SymbolKind};
 use schemars::JsonSchema;
 use serde_derive::{Deserialize, Serialize};
 use settings::Setting;
-use smol::{fs, io::BufReader, stream::StreamExt};
+use smol::{fs, stream::StreamExt};
 use std::{any::Any, env::consts, ops::Deref, path::PathBuf, sync::Arc};
 use util::{
     async_iife,

crates/zed/src/zed.rs 🔗

@@ -2388,6 +2388,7 @@ mod tests {
 
     #[gpui::test]
     fn test_bundled_languages(cx: &mut AppContext) {
+        cx.set_global(SettingsStore::test(cx));
         let mut languages = LanguageRegistry::test();
         languages.set_executor(cx.background().clone());
         let languages = Arc::new(languages);