Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
wsdjeg committed Feb 5, 2025
1 parent 49c75d8 commit a4cf3dc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion bundle/nvim-plug/lua/plug/installer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,15 @@ local function build(plugSpec)
end,
on_exit = function(id, data, single)
if data == 0 and single == 0 then
notify.notify('Successfully build ' .. jobs['jobid_' .. id])
if config.ui == 'default' then
elseif config.ui == 'notify' then
notify.notify('Successfully build ' .. jobs['jobid_' .. id])
end
else
if config.ui == 'default' then
elseif config.ui == 'notify' then
notify.notify('failed to build ' .. jobs['jobid_' .. id])
end
end
processes = processes - 1
if #building_queue > 0 then
Expand Down

0 comments on commit a4cf3dc

Please sign in to comment.