feat(lua):autoinstall missing plugins on startup and enhance vim.pack UI keymaps
This commit is contained in:
4 files changed
+393
-85
No files matched your search
+1
-1
@@ -27,7 +27,7 @@ _G.add = function(specs)
|
||||
end)() or s)
|
||||
table.insert(res, n)
|
||||
end
|
||||
if #res > 0 then pcall(vim.pack.add, res) end
|
||||
if #res > 0 then pcall(vim.pack.add, res, { confirm = false }) end
|
||||
end
|
||||
|
||||
return M
|
||||
Reference in new issue
Block a user