mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-19 18:47:29 -07:00
Fix bug in bang behaviour.
This commit is contained in:
parent
a28be877f3
commit
b2237a6a0c
7
plug.vim
7
plug.vim
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user