Do not show directories in the InvalidBufferView (#36906)

Follow-up of https://github.com/zed-industries/zed/pull/36764

Release Notes:

- N/A
This commit is contained in:
Kirill Bulatov 2025-08-26 00:16:37 +03:00 committed by GitHub
parent 628a9cd8ea
commit 65de969cc8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 50 additions and 86 deletions

View file

@ -1404,7 +1404,7 @@ impl ProjectItem for Editor {
}
fn for_broken_project_item(
abs_path: PathBuf,
abs_path: &Path,
is_local: bool,
e: &anyhow::Error,
window: &mut Window,