Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Do not treat binary Doom WAD files as text (#48349)
elf-alchemist5d84932f4e7d
diff --git a/crates/worktree/src/worktree.rs b/crates/worktree/src/worktree.rsindex 9031fa30574..fd8aa464060 100644--- a/crates/worktree/src/worktree.rs+++ b/crates/worktree/src/worktree.rs@@ -6129,4 +6129,6 @@ fn is_known_binary_header(bytes: &[u8]) -> bool {|| bytes.starts_with(b"\xFF\xD8\xFF") // JPEG|| bytes.starts_with(b"GIF87a") // GIF87a|| bytes.starts_with(b"GIF89a") // GIF89a+ || bytes.starts_with(b"IWAD") // Doom IWAD archive+ || bytes.starts_with(b"PWAD") // Doom PWAD archive}