Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
fmt
Mikayla Makida96802bf036
diff --git a/crates/project_panel/src/project_panel.rs b/crates/project_panel/src/project_panel.rsindex d4cd0074549..66f0fe77182 100644--- a/crates/project_panel/src/project_panel.rs+++ b/crates/project_panel/src/project_panel.rs@@ -1018,7 +1018,9 @@ impl ProjectPanel {for (entry, repo) insnapshot.entries_with_repositories(visible_worktree_entries[entry_range].iter()){- let status = (git_status_setting && entry.path.parent().is_some() && !entry.is_ignored)+ let status = (git_status_setting+ && entry.path.parent().is_some()+ && !entry.is_ignored).then(|| repo.and_then(|repo| repo.status_for_path(&snapshot, &entry.path))).flatten();diff --git a/crates/project_panel/src/project_panel_settings.rs b/crates/project_panel/src/project_panel_settings.rsindex 01a15d089bf..7786f1b4380 100644--- a/crates/project_panel/src/project_panel_settings.rs+++ b/crates/project_panel/src/project_panel_settings.rs@@ -1,8 +1,7 @@-use serde_derive::{Deserialize, Serialize};use anyhow;-use settings::Setting;use schemars::JsonSchema;-+use serde_derive::{Deserialize, Serialize};+use settings::Setting;#[derive(Deserialize, Debug)]pub struct ProjectPanelSettings {