-
I need to speed up cloning with ghproxy.com, local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"https://ghproxy.com/github.com/folke/lazy.nvim.git",
"--branch=stable", -- latest stable release
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
but the url will be changed back to
How do I change the url ? |
Beta Was this translation helpful? Give feedback.
Answered by
folke
Jan 25, 2023
Replies: 1 comment 1 reply
-
You can't |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Qutue
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can't