diff --git a/docs/tips.md b/docs/tips.md index 4ed5621b..23a6b2cb 100644 --- a/docs/tips.md +++ b/docs/tips.md @@ -90,7 +90,7 @@ Save these lines as `~/.config/yazi/plugins/smart-enter.yazi/init.lua`: return { entry = function() local h = cx.active.current.hovered - ya.manager_emit(h and h.cha.is_dir and "enter" or "open", {}) + ya.manager_emit(h and h.cha.is_dir and "enter" or "open", { hovered = true }) end, } ```