recent_projects: Perform fuzzy search on compacted paths. (#2703)

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

Release Notes:

- Fixed result highlighting in "Recent projects" modal.
b9f5cb0301Piotr Osiewicz committed on 7/12/2023, 9:47:28 AM· committed by GitHubparents916532015010e9
1 file changedLine totals unavailable