Krolyxon
Commit 27e23c7

Branches

Refs →

aurora.configyazipluginssmart-enter.yazimain.lua

11 lines · 303 B · Lua

1--- @since 25.5.31
2--- @sync entry
3
4local function setup(self, opts) self.open_multi = opts.open_multi end
5
6local function entry(self)
7 local h = cx.active.current.hovered
8 ya.emit(h and h.cha.is_dir and "enter" or "open", { hovered = not self.open_multi })
9end
10
11return { entry = entry, setup = setup }