run stylua
This commit is contained in:
parent
d20081f2b0
commit
79e3da0085
2 changed files with 8 additions and 2 deletions
|
|
@ -9,7 +9,10 @@ iferr.iferr = function()
|
|||
local data = vim.fn.systemlist(cmd, vim.fn.bufnr "%")
|
||||
|
||||
if vim.v.shell_error ~= 0 then
|
||||
u.deferred_notify("command " .. cmd .. " exited with code " .. vim.v.shell_error, vim.log.levels.ERROR)
|
||||
u.deferred_notify(
|
||||
"command " .. cmd .. " exited with code " .. vim.v.shell_error,
|
||||
vim.log.levels.ERROR
|
||||
)
|
||||
return
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,10 @@ local function install(pkg)
|
|||
args = { "install", url },
|
||||
on_exit = function(_, retval)
|
||||
if retval ~= 0 then
|
||||
u.deferred_notify("command 'go install " .. url .. "' exited with code " .. retval, vim.log.levels.ERROR)
|
||||
u.deferred_notify(
|
||||
"command 'go install " .. url .. "' exited with code " .. retval,
|
||||
vim.log.levels.ERROR
|
||||
)
|
||||
return
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue