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.

Merge branch 'main' into joseph/z-226-add-terminal-popup-menu

Petros Amoiridisbccc34c61a02
diff --cc crates/zed/src/zed.rs
index 0d9d094f871,042d486852a..00e67f63b36
--- a/crates/zed/src/zed.rs
+++ b/crates/zed/src/zed.rs
@@@ -343,12 -347,9 +350,12 @@@ pub fn initialize_workspace
workspace.status_bar().update(cx, |status_bar, cx| {
status_bar.add_left_item(diagnostic_summary, cx);
status_bar.add_left_item(activity_indicator, cx);
- // TODO: Remove this when things are done
+ if **cx.default_global::<StaffMode>() {
+ status_bar.add_right_item(toggle_terminal, cx);
+ }
- status_bar.add_right_item(cursor_position, cx);
status_bar.add_right_item(feedback_button, cx);
+ status_bar.add_right_item(active_buffer_language, cx);
+ status_bar.add_right_item(cursor_position, cx);
});
auto_update::notify_of_any_new_update(cx.weak_handle(), cx);