Deprecate implicit vim-scripts expansion

vim-scripts.org is no longer maintained.

Close #625
This commit is contained in:
Junegunn Choi
2017-05-01 21:31:57 +09:00
parent 61ffb61615
commit f7e6a86807
3 changed files with 15 additions and 10 deletions

View File

@@ -579,7 +579,7 @@ function! s:infer_properties(name, repo)
let uri = repo
else
if repo !~ '/'
let repo = 'vim-scripts/'. repo
throw printf('Invalid argument: %s (implicit `vim-scripts'' expansion is deprecated)', repo)
endif
let fmt = get(g:, 'plug_url_format', 'https://git::@github.com/%s.git')
let uri = printf(fmt, repo)