Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix proxy settings retrieval on startup (#18171)
ClanEverfd07fef4dbc4
diff --git a/crates/zed/src/main.rs b/crates/zed/src/main.rsindex 309931f6163..e3fe2baefa9 100644--- a/crates/zed/src/main.rs+++ b/crates/zed/src/main.rs@@ -443,6 +443,8 @@ fn main() {AppCommitSha::set_global(AppCommitSha(build_sha.into()), cx);}settings::init(cx);+ handle_settings_file_changes(user_settings_file_rx, cx, handle_settings_changed);+ handle_keymap_file_changes(user_keymap_file_rx, cx, handle_keymap_changed);client::init_settings(cx);let user_agent = format!("Zed/{} ({}; {})",@@ -470,9 +472,6 @@ fn main() {OpenListener::set_global(cx, open_listener.clone());- handle_settings_file_changes(user_settings_file_rx, cx, handle_settings_changed);- handle_keymap_file_changes(user_keymap_file_rx, cx, handle_keymap_changed);-let client = Client::production(cx);cx.set_http_client(client.http_client().clone());let mut languages = LanguageRegistry::new(cx.background_executor().clone());