mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-29 08:32:27 +03:00
f164eb5289
Match highlighting for recent projects picker was off, because the path representation was compacted - for a path '/Users/hiro/Projects/zed' we compact it to use a tilde instead of home directory. However, the highlight positions were always calculated for a full path, leading to a mismatch in highlights. This commit addresses this by running fuzzy search on compacted paths instead of using long paths. This might lead to a slight performance hit, but given that recent projects modal shouldn't have that many items in the first place, it should be okay. Z-2546 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |