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.

Remove feature flag

Petros Amoiridis8980df1f5d05
diff --git a/crates/zed/src/zed.rs b/crates/zed/src/zed.rs
index 00e67f63b36..83a8038d772 100644
--- a/crates/zed/src/zed.rs
+++ b/crates/zed/src/zed.rs
@@ -350,9 +350,7 @@ 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);
- if **cx.default_global::<StaffMode>() {
- status_bar.add_right_item(toggle_terminal, cx);
- }
+ status_bar.add_right_item(toggle_terminal, 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);