mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
feat: support application/mbox mimetype (#2173)
This commit is contained in:
parent
21f6a92ea3
commit
7dd4454bf1
1 changed files with 2 additions and 2 deletions
|
|
@ -97,7 +97,7 @@ spotters = [
|
||||||
{ name = "*/", run = "folder" },
|
{ name = "*/", run = "folder" },
|
||||||
# Code
|
# Code
|
||||||
{ mime = "text/*", run = "code" },
|
{ mime = "text/*", run = "code" },
|
||||||
{ mime = "*/{xml,javascript,wine-extension-ini}", run = "code" },
|
{ mime = "application/{mbox,javascript,wine-extension-ini}", run = "code" },
|
||||||
# Image
|
# Image
|
||||||
{ mime = "image/{avif,hei?,jxl,svg+xml}", run = "magick" },
|
{ mime = "image/{avif,hei?,jxl,svg+xml}", run = "magick" },
|
||||||
{ mime = "image/*", run = "image" },
|
{ mime = "image/*", run = "image" },
|
||||||
|
|
@ -122,7 +122,7 @@ previewers = [
|
||||||
{ name = "*/", run = "folder", sync = true },
|
{ name = "*/", run = "folder", sync = true },
|
||||||
# Code
|
# Code
|
||||||
{ mime = "text/*", run = "code" },
|
{ mime = "text/*", run = "code" },
|
||||||
{ mime = "*/{xml,javascript,wine-extension-ini}", run = "code" },
|
{ mime = "application/{mbox,javascript,wine-extension-ini}", run = "code" },
|
||||||
# JSON
|
# JSON
|
||||||
{ mime = "application/{json,ndjson}", run = "json" },
|
{ mime = "application/{json,ndjson}", run = "json" },
|
||||||
# Image
|
# Image
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue