zed/crates/editor
Joseph T. Lyons ee1b4a52cc
Add PathExt trait (#2823)
This PR adds a `PathExt` trait. It pulls in our existing `compact()`
function, as a method, and then adds a method, and testing, for
`icon_suffix()`. A test was added to fix:

- https://github.com/zed-industries/community/issues/1877

Release Notes:

- Fixed a bug where file icons would not be registered for files with
with `.` characters in their name
([#1877](https://github.com/zed-industries/community/issues/1877)).
2023-08-03 18:57:43 -04:00
..
src Add PathExt trait (#2823) 2023-08-03 18:57:43 -04:00
Cargo.toml Fix rand import and tweak callbacks 2023-07-25 11:44:13 -04:00