Add feature to install only new plugins without updating existing plugins
Matts966 opened this issue · comments
Thank you for this great artifact!
I moved from vim-plug today, and want a feature to install only new plugins.
This reduces the time to try new plugins.
You can achieve it with below in lua.
vim.cmd('packadd vim-jetpack')
require'jetpack'.startup(function(use)
local _use = function(x)
if type(x) == "table" then
x.frozen = x.frozen == nil and true or x.frozen
return use(x)
end
return use({x, frozen = true})
end
_use { 'tani/vim-jetpack', opt = 1 } -- bootstrap
end
Thank you!