From cfe73365192664e788c4218f9741e16d7edee5d8 Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Thu, 14 Dec 2023 10:00:31 +0200 Subject: [PATCH] Return include warnings toggle to the diagnostics panel --- crates/zed2/src/zed2.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/zed2/src/zed2.rs b/crates/zed2/src/zed2.rs index 611cf64552..d5fc0e8fdc 100644 --- a/crates/zed2/src/zed2.rs +++ b/crates/zed2/src/zed2.rs @@ -427,7 +427,7 @@ fn initialize_pane(workspace: &mut Workspace, pane: &View, cx: &mut ViewCo cx.build_view(|_| QuickActionBar::new(buffer_search_bar, workspace)); toolbar.add_item(quick_action_bar, cx); let diagnostic_editor_controls = cx.build_view(|_| diagnostics::ToolbarControls::new()); - // toolbar.add_item(diagnostic_editor_controls, cx); + toolbar.add_item(diagnostic_editor_controls, cx); let project_search_bar = cx.build_view(|_| ProjectSearchBar::new()); toolbar.add_item(project_search_bar, cx); // let lsp_log_item =