blob: 37a465adf7563496468bcae70eb8ecda2fc4e42f (
plain)
1
2
3
4
5
6
7
8
9
10
|
--- @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 })
end
return { entry = entry, setup = setup }
|