mirror of
https://github.com/sxyazi/yazi.git
synced 2026-05-13 08:16:40 +00:00
feat: new null plugin as a general-purpose error handler (#3387)
This commit is contained in:
parent
76196aab70
commit
0fb652d2ec
7 changed files with 211 additions and 130 deletions
|
|
@ -114,6 +114,8 @@ spotters = [
|
|||
{ mime = "video/*", run = "video" },
|
||||
# Virtual file system
|
||||
{ mime = "vfs/*", run = "vfs" },
|
||||
# Error
|
||||
{ mime = "null/*", run = "null" },
|
||||
# Fallback
|
||||
{ url = "*", run = "file" },
|
||||
]
|
||||
|
|
@ -160,6 +162,8 @@ previewers = [
|
|||
{ mime = "inode/empty", run = "empty" },
|
||||
# Virtual file system
|
||||
{ mime = "vfs/*", run = "vfs" },
|
||||
# Error
|
||||
{ mime = "null/*", run = "null" },
|
||||
# Fallback
|
||||
{ url = "*", run = "file" },
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue