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.

Add missing global

Mikayla8aa076692ea2
diff --git a/crates/zed2/src/main.rs b/crates/zed2/src/main.rs
index 730dd255f97..b3797bed2a3 100644
--- a/crates/zed2/src/main.rs
+++ b/crates/zed2/src/main.rs
@@ -113,6 +113,8 @@ fn main() {
app.run(move |cx| {
cx.set_global(*RELEASE_CHANNEL);
+ cx.set_global(listener.clone());
+
load_embedded_fonts(cx);
let mut store = SettingsStore::default();