Change summary
crates/zed/src/main.rs | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
Detailed changes
@@ -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());