From 62c445da570e9a65a791c3535c4e371a3e395822 Mon Sep 17 00:00:00 2001 From: Mikayla Maki Date: Sat, 13 May 2023 02:30:59 -0700 Subject: [PATCH] Match priority of folder highlights to vscode --- crates/project/src/worktree.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/project/src/worktree.rs b/crates/project/src/worktree.rs index e713eed58d..b391ff829c 100644 --- a/crates/project/src/worktree.rs +++ b/crates/project/src/worktree.rs @@ -195,10 +195,10 @@ impl RepositoryEntry { (GitFileStatus::Conflict, _) | (_, GitFileStatus::Conflict) => { &GitFileStatus::Conflict } - (GitFileStatus::Added, _) | (_, GitFileStatus::Added) => { - &GitFileStatus::Added + (GitFileStatus::Modified, _) | (_, GitFileStatus::Modified) => { + &GitFileStatus::Modified } - _ => &GitFileStatus::Modified, + _ => &GitFileStatus::Added, }, ) .copied()