diff options
| author | Tom Li Dobnik <tomlidobnik1@gmail.com> | 2026-02-20 15:05:37 +0100 |
|---|---|---|
| committer | Tom Li Dobnik <tomlidobnik1@gmail.com> | 2026-02-20 15:05:37 +0100 |
| commit | ac0968042ddb333de5e3c371cc79b3b4ef098356 (patch) | |
| tree | 6fba7deb2e7990b5842ef36ef1dad0f90e74d494 /.config/yazi/plugins/smart-enter.yazi/main.lua | |
| parent | 2dab9e093cced83b8a2ae3c477052594f70e9a4d (diff) | |
update
Diffstat (limited to '.config/yazi/plugins/smart-enter.yazi/main.lua')
| -rw-r--r-- | .config/yazi/plugins/smart-enter.yazi/main.lua | 3 |
1 files changed, 2 insertions, 1 deletions
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 } |
