docs!: deprecate max-preview and hide-preview in favor of toggle-view

This commit is contained in:
sxyazi
2025-02-20 23:23:14 +08:00
parent e5eb78a380
commit fe32aa2965
6 changed files with 22 additions and 3 deletions

View File

@@ -2,6 +2,13 @@
--- @sync entry
local function entry(st)
ya.notify {
title = "Deprecated plugin",
content = "The `hide-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