diff --git a/runtime/lua/nvim/zip/health.lua b/runtime/lua/nvim/zip/health.lua index 1c9798b155..79489e280c 100644 --- a/runtime/lua/nvim/zip/health.lua +++ b/runtime/lua/nvim/zip/health.lua @@ -31,16 +31,14 @@ local function check_active() if legacy then health.info('`old-zip` is loaded, so it handles archives instead of zip.lua') - health.info('zip.lua yields to it and removes its own autocommands') + health.info('zip.lua defers to it while it is loaded') -- `old-zip` shells out to the same backend. return true end if not builtin then if vim.g.loaded_nvim_zip_plugin ~= nil then - health.warn('zip.lua is disabled by `g:loaded_nvim_zip_plugin`', { - 'Unset it before startup to enable the builtin zip plugin.', - }) + health.info('Disabled (`g:loaded_nvim_zip_plugin` is set).') else health.warn('No zip plugin is active') end diff --git a/test/functional/plugin/health_spec.lua b/test/functional/plugin/health_spec.lua index 5e3d935553..050a820e27 100644 --- a/test/functional/plugin/health_spec.lua +++ b/test/functional/plugin/health_spec.lua @@ -44,7 +44,7 @@ describe(':checkhealth', function() it('getcompletion()', function() clear { args = { '-u', 'NORC', '+set runtimepath+=test/functional/fixtures' } } - eq('vim.deprecated', getcompletion('vim', 'checkhealth')[1]) + eq('nvim.zip', getcompletion('vim', 'checkhealth')[1]) eq('vim.provider', getcompletion('vim.prov', 'checkhealth')[1]) eq('vim.lsp', getcompletion('vim.ls', 'checkhealth')[1])