Fix proxy settings retrieval on startup (#18171)
Closes https://github.com/zed-industries/zed/issues/18155 Release Notes: - N/A
This commit is contained in:
parent
4a4d8c1cab
commit
fd07fef4db
1 changed files with 2 additions and 3 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue