From 35238adf9805e7986012d719ace49c6cbf324364 Mon Sep 17 00:00:00 2001 From: sxyazi Date: Thu, 14 Mar 2024 00:34:25 +0800 Subject: [PATCH] docs: update `smart-enter` tip --- docs/tips.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, } ```