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.

Fix error

Petros Amoiridis18c6c7ebb7af
diff --git a/crates/recent_projects/src/highlighted_workspace_location.rs b/crates/recent_projects/src/highlighted_workspace_location.rs
index 5c3505cccde..a71a7dd2d7d 100644
--- a/crates/recent_projects/src/highlighted_workspace_location.rs
+++ b/crates/recent_projects/src/highlighted_workspace_location.rs
@@ -63,7 +63,7 @@ impl HighlightedWorkspaceLocation {
.map(|path| {
let path = util::paths::compact(&path);
let highlighted_text = Self::highlights_for_path(
- full_path.as_ref(),
+ path.as_ref(),
&string_match.positions,
path_start_offset,
);