diff options
Diffstat (limited to 'lua/plugins.lua')
| -rw-r--r-- | lua/plugins.lua | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/lua/plugins.lua b/lua/plugins.lua index 9b41deb..cc7b8a1 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -4,14 +4,7 @@ local fn = vim.fn vim.g.package_home = fn.stdpath("data") .. "/site/pack/packer/" local packer_install_dir = vim.g.package_home .. "/opt/packer.nvim" -local plug_url_format = "" -if vim.g.is_linux then - plug_url_format = "https://hub.fastgit.org/%s" -else - plug_url_format = "https://github.com/%s" -end - -local packer_repo = string.format(plug_url_format, "wbthomason/packer.nvim") +local packer_repo = "https://github.com/wbthomason/packer.nvim" local install_cmd = string.format("10split |term git clone --depth=1 %s %s", packer_repo, packer_install_dir) -- Auto-install packer in case it hasn't been installed. @@ -365,9 +358,6 @@ require("packer").startup({ config = { max_jobs = 16, compile_path = util.join_paths(vim.fn.stdpath('config'), 'lua', 'packer_compiled.lua'), - git = { - default_url_format = plug_url_format, - }, }, }) |
