修改源地址

This commit is contained in:
Sakura 2022-09-21 18:27:53 +08:00
parent 4cac4f7870
commit d0d6edfe8c
1 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ local fn = vim.fn
local install_path = fn.stdpath("data") .. "/site/pack/packer/start/packer.nvim"
if fn.empty(fn.glob(install_path)) > 0 then
PACKER_BOOTSTRAP = fn.system({"git", "clone", "--depth", "1",
"https://git.asdasd.ren/https://github.com/wbthomason/packer.nvim", install_path})
"https://gh.api.99988866.xyz/https://github.com/wbthomason/packer.nvim", install_path})
print("Installing packer close and reopen Neovim...")
vim.cmd([[packadd packer.nvim]])
end
@ -36,7 +36,7 @@ packer.init({
git = {
depth = 1, -- Git clone depth
clone_timeout = 60, -- Timeout, in seconds, for git clones
default_url_format = 'https://git.asdasd.ren/https://github.com/%s' -- Lua format string used for "aaa/bbb" style plugins
default_url_format = 'https://gh.api.99988866.xyz/https://github.com/%s' -- Lua format string used for "aaa/bbb" style plugins
}
})