aurora.configyazipluginssmart-enter.yazimain.lua
| 1 | --- @since 25.5.31 |
| 2 | --- @sync entry |
| 3 | |
| 4 | local function setup(self, opts) self.open_multi = opts.open_multi end |
| 5 | |
| 6 | local 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 }) |
| 9 | end |
| 10 | |
| 11 | return { entry = entry, setup = setup } |