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