15 lines
248 B
Lua
15 lines
248 B
Lua
--- @since 25.5.31
|
|
--- @sync entry
|
|
return {
|
|
entry = function()
|
|
local h = cx.active.current.hovered
|
|
if h and h.cha.is_dir then
|
|
ya.emit("enter", {})
|
|
ya.emit("paste", {})
|
|
ya.emit("leave", {})
|
|
else
|
|
ya.emit("paste", {})
|
|
end
|
|
end,
|
|
}
|