You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
303 B
11 lines
303 B
--- @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.emit(h and h.cha.is_dir and "enter" or "open", { hovered = not self.open_multi }) |
|
end |
|
|
|
return { entry = entry, setup = setup }
|
|
|