mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 00:40:05 +08:00
chore(dev): remove bundle.lua
This commit is contained in:
parent
6dafed1aca
commit
61501adb7b
@ -1,12 +0,0 @@
|
|||||||
local b = require('spacevim.dev.bundle')
|
|
||||||
vim.api.nvim_create_user_command('SPBundleUpdate', function(opt)
|
|
||||||
local bundles = b.get_bundles()
|
|
||||||
if opt.fargs[1] == 'all' then for _, v in pairs(bundles) do b.download(v) end end
|
|
||||||
for _, v in pairs(bundles) do
|
|
||||||
if v.username .. '/' .. v.repo == opt.fargs[1] then
|
|
||||||
b.download(v)
|
|
||||||
return
|
|
||||||
end
|
|
||||||
end
|
|
||||||
print('can not find bundle:' .. opt.fargs[1])
|
|
||||||
end, { nargs = 1, complete = b.complete })
|
|
Loading…
Reference in New Issue
Block a user