From ac0968042ddb333de5e3c371cc79b3b4ef098356 Mon Sep 17 00:00:00 2001 From: Tom Li Dobnik Date: Fri, 20 Feb 2026 15:05:37 +0100 Subject: update --- .config/yazi/plugins/smart-enter.yazi/main.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.config/yazi/plugins/smart-enter.yazi/main.lua') diff --git a/.config/yazi/plugins/smart-enter.yazi/main.lua b/.config/yazi/plugins/smart-enter.yazi/main.lua index 37a465a..e9e2ec6 100644 --- a/.config/yazi/plugins/smart-enter.yazi/main.lua +++ b/.config/yazi/plugins/smart-enter.yazi/main.lua @@ -1,10 +1,11 @@ +--- @since 25.5.31 --- @sync entry local function setup(self, opts) self.open_multi = opts.open_multi end local function entry(self) local h = cx.active.current.hovered - ya.manager_emit(h and h.cha.is_dir and "enter" or "open", { hovered = not self.open_multi }) + ya.emit(h and h.cha.is_dir and "enter" or "open", { hovered = not self.open_multi }) end return { entry = entry, setup = setup } -- cgit v1.2.3