Fix: Change display headline text to not indicate that all tasks are plugins (#1190)

* Fix: Change display headline text to not indicate that all tasks are plugins

* Remove word from new headline to keep message short
This commit is contained in:
Wil Thomason 2023-01-11 23:52:42 +00:00 committed by GitHub
parent b134cba054
commit 1d0cf98a56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -437,7 +437,7 @@ packer.install = function(...)
end)
table.insert(tasks, 1, config.max_jobs and config.max_jobs or (#tasks - 1))
log.debug 'Running tasks'
display_win:update_headline_message('installing ' .. #tasks - 2 .. ' / ' .. #tasks - 2 .. ' plugins')
display_win:update_headline_message(#tasks - 2 .. ' / ' .. #tasks - 2 .. ' install tasks')
a.interruptible_wait_pool(unpack(tasks))
local install_paths = {}
for plugin_name, r in pairs(results.installs) do
@ -533,7 +533,7 @@ packer.update = function(...)
return not display.status.running
end)
table.insert(tasks, 1, config.max_jobs and config.max_jobs or (#tasks - 1))
display_win:update_headline_message('updating ' .. #tasks - 2 .. ' / ' .. #tasks - 2 .. ' plugins')
display_win:update_headline_message(#tasks - 2 .. ' / ' .. #tasks - 2 .. ' update tasks')
log.debug 'Running tasks'
a.interruptible_wait_pool(unpack(tasks))
local install_paths = {}
@ -624,7 +624,7 @@ packer.sync = function(...)
end)
table.insert(tasks, 1, config.max_jobs and config.max_jobs or (#tasks - 1))
log.debug 'Running tasks'
display_win:update_headline_message('syncing ' .. #tasks - 2 .. ' / ' .. #tasks - 2 .. ' plugins')
display_win:update_headline_message(#tasks - 2 .. ' / ' .. #tasks - 2 .. ' sync tasks')
a.interruptible_wait_pool(unpack(tasks))
local install_paths = {}
for plugin_name, r in pairs(results.installs) do