From 2691413a7079fb93bd8cf4cfbec1b91a0828ab12 Mon Sep 17 00:00:00 2001 From: jue_w Date: Tue, 22 Mar 2022 09:37:33 +0000 Subject: [PATCH] update plug.vim: url of fastgit --- autoload/plug.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/plug.vim b/autoload/plug.vim index 42d43d8..d18d54e 100644 --- a/autoload/plug.vim +++ b/autoload/plug.vim @@ -769,7 +769,7 @@ function! s:infer_properties(name, repo) if repo !~ '/' throw printf('Invalid argument: %s (implicit `vim-scripts'' expansion is deprecated)', repo) endif - let fmt = get(g:, 'plug_url_format', 'https://git::@hub.fastgit.org/%s.git') + let fmt = get(g:, 'plug_url_format', 'https://git::@hub.fastgit.xyz/%s.git') let uri = printf(fmt, repo) endif return { 'dir': s:dirpath(g:plug_home.'/'.a:name), 'uri': uri } @@ -1165,7 +1165,7 @@ function! s:update_impl(pull, force, args) abort let $GIT_TERMINAL_PROMPT = 0 for plug in values(todo) let plug.uri = substitute(plug.uri, - \ '^https://git::@hub.fastgit\.org', 'https://hub.fastgit.org', '') + \ '^https://git::@hub.fastgit\.xyz', 'https://hub.fastgit.xyz', '') endfor endif