style: reformat all lua code
This commit is contained in:
parent
4fee3543e0
commit
4b83da6d7f
8 changed files with 84 additions and 102 deletions
|
|
@ -12,18 +12,16 @@ return function(...)
|
|||
|
||||
local cmd_args = vim.list_extend({ "mod" }, args)
|
||||
|
||||
Job
|
||||
:new({
|
||||
command = c.go,
|
||||
args = cmd_args,
|
||||
on_exit = function(_, retval)
|
||||
if retval ~= 0 then
|
||||
u.notify("command 'go " .. unpack(cmd_args) .. "' exited with code " .. retval, "error")
|
||||
return
|
||||
end
|
||||
Job:new({
|
||||
command = c.go,
|
||||
args = cmd_args,
|
||||
on_exit = function(_, retval)
|
||||
if retval ~= 0 then
|
||||
u.notify("command 'go " .. unpack(cmd_args) .. "' exited with code " .. retval, "error")
|
||||
return
|
||||
end
|
||||
|
||||
u.notify("go mod was success runned", "info")
|
||||
end,
|
||||
})
|
||||
:start()
|
||||
u.notify("go mod was success runned", "info")
|
||||
end,
|
||||
}):start()
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue