修改源地址
This commit is contained in:
parent
4cac4f7870
commit
d0d6edfe8c
|
@ -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
|
||||
}
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue