Check for existing variable
This commit is contained in:
parent
b37021d925
commit
aff77f648f
2
plug.vim
2
plug.vim
|
@ -379,7 +379,7 @@ function! s:infer_properties(name, repo)
|
||||||
if repo !~ '/'
|
if repo !~ '/'
|
||||||
let repo = 'vim-scripts/'. repo
|
let repo = 'vim-scripts/'. repo
|
||||||
endif
|
endif
|
||||||
if g:plug_use_ssh == 1
|
if exists('g:plug_use_ssh') && g:plug_use_ssh == 1
|
||||||
let uri = 'git@github.com:' . repo . '.git'
|
let uri = 'git@github.com:' . repo . '.git'
|
||||||
else
|
else
|
||||||
let uri = 'https://git::@github.com/' . repo . '.git'
|
let uri = 'https://git::@github.com/' . repo . '.git'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user