mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-19 10:35:38 -07:00
parent
c3d57ac6b5
commit
7218143147
4
plug.vim
4
plug.vim
@ -665,6 +665,10 @@ function! s:finish_bindings()
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:prepare(...)
|
function! s:prepare(...)
|
||||||
|
if empty(getcwd())
|
||||||
|
throw 'Invalid current working directory. Cannot proceed.'
|
||||||
|
endif
|
||||||
|
|
||||||
call s:job_abort()
|
call s:job_abort()
|
||||||
if s:switch_in()
|
if s:switch_in()
|
||||||
normal q
|
normal q
|
||||||
|
Loading…
Reference in New Issue
Block a user