feat(mime_app): include text editors for text-based mime types

This commit is contained in:
Michael Aaron Murphy 2026-06-11 17:16:26 +02:00
parent 256a6cba19
commit 6d4af69318
No known key found for this signature in database
GPG key ID: B2732D4240C9212C

View file

@ -266,6 +266,7 @@ impl MimeAppCache {
let include_mime = match mime_type.type_().as_str() { let include_mime = match mime_type.type_().as_str() {
"audio" => Some("video/mp4".parse::<Mime>().expect("video/mp4 mime")), "audio" => Some("video/mp4".parse::<Mime>().expect("video/mp4 mime")),
"text" => Some(mime_guess::mime::TEXT_PLAIN),
_ => None, _ => None,
}; };