fix: use new _utils api
This commit is contained in:
parent
616474b919
commit
6e70be0ef9
8 changed files with 37 additions and 28 deletions
|
|
@ -9,7 +9,7 @@ iferr.iferr = function()
|
|||
local data = vim.fn.systemlist(cmd, vim.fn.bufnr "%")
|
||||
|
||||
if vim.v.shell_error ~= 0 then
|
||||
u.notify("command " .. cmd .. " exited with code " .. vim.v.shell_error, "error")
|
||||
u.deferred_notify("command " .. cmd .. " exited with code " .. vim.v.shell_error, vim.log.levels.ERROR)
|
||||
return
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue