mirror of
https://github.com/Ascyii/projects.yazi.git
synced 2026-01-01 03:24:24 -05:00
refactor: migrate to yazi v0.4
This commit is contained in:
6
init.lua
6
init.lua
@@ -821,8 +821,8 @@ local _merge_event = ya.sync(function(state)
|
|||||||
end)
|
end)
|
||||||
|
|
||||||
return {
|
return {
|
||||||
entry = function(_, args)
|
entry = function(_, job)
|
||||||
local action = args[1]
|
local action = job.args[1]
|
||||||
if not action then
|
if not action then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
@@ -838,7 +838,7 @@ return {
|
|||||||
end
|
end
|
||||||
|
|
||||||
if action == "merge" then
|
if action == "merge" then
|
||||||
local opt = args[2]
|
local opt = job.args[2]
|
||||||
merge_project(opt)
|
merge_project(opt)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user