Remove initialize_workspace
This commit is contained in:
parent
78cea69172
commit
c70c0f9ae9
6 changed files with 182 additions and 315 deletions
|
@ -50,8 +50,8 @@ use util::{
|
|||
use uuid::Uuid;
|
||||
use workspace::{AppState, WorkspaceStore};
|
||||
use zed2::{
|
||||
build_window_options, ensure_only_instance, handle_cli_connection, init_zed_actions,
|
||||
initialize_workspace, languages, Assets, IsOnlyInstance, OpenListener, OpenRequest,
|
||||
build_window_options, ensure_only_instance, handle_cli_connection, initialize_workspace,
|
||||
languages, Assets, IsOnlyInstance, OpenListener, OpenRequest,
|
||||
};
|
||||
|
||||
mod open_listener;
|
||||
|
@ -176,7 +176,6 @@ fn main() {
|
|||
user_store,
|
||||
fs,
|
||||
build_window_options,
|
||||
initialize_workspace,
|
||||
// background_actions: todo!("ask Mikayla"),
|
||||
workspace_store,
|
||||
node_runtime,
|
||||
|
@ -213,7 +212,7 @@ fn main() {
|
|||
// zed::init(&app_state, cx);
|
||||
|
||||
// cx.set_menus(menus::menus());
|
||||
init_zed_actions(app_state.clone(), cx);
|
||||
initialize_workspace(app_state.clone(), cx);
|
||||
|
||||
if stdout_is_a_pty() {
|
||||
cx.activate(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue