docs!: deprecate max-preview and hide-preview in favor of toggle-view
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
# max-preview.yazi
|
||||
|
||||
> [!WARNING]
|
||||
> This plugin has been deprecated. Please use the new [toggle-view.yazi](../toggle-view.yazi) instead.
|
||||
|
||||
Maximize or restore the preview pane.
|
||||
|
||||
https://github.com/yazi-rs/plugins/assets/17523360/8976308e-ebfe-4e9e-babe-153eb1f87d61
|
||||
|
||||
@@ -2,6 +2,13 @@
|
||||
--- @sync entry
|
||||
|
||||
local function entry(st)
|
||||
ya.notify {
|
||||
title = "Deprecated plugin",
|
||||
content = "The `max-preview` plugin is deprecated, please use the new `toggle-view` plugin instead: https://github.com/yazi-rs/plugins/tree/main/toggle-view.yazi",
|
||||
timeout = 10,
|
||||
level = "warn",
|
||||
}
|
||||
|
||||
if st.old then
|
||||
Tab.layout, st.old = st.old, nil
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user