1
0

main.lua 303 B

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