Fix bug in bang behaviour.

This commit is contained in:
Alexander Jeurissen 2017-02-08 22:01:31 +01:00
parent a28be877f3
commit b2237a6a0c

View File

@ -594,7 +594,12 @@ function! s:update(force, names)
endfunction endfunction
function! s:open(force, name) function! s:open(force, name)
exec ':Sexplore'.a:force.' '.g:plug_home.'/'.a:name.'/' let plugpath = g:plug_home.'/'.a:name.'/'
if a:force
exec ':Sexplore! '. plugpath
else
exec ':Sexplore '. plugpath
endif
endfunction endfunction
function! plug#helptags() function! plug#helptags()