parent
c3d57ac6b5
commit
7218143147
1 changed files with 4 additions and 0 deletions
4
plug.vim
4
plug.vim
|
@ -665,6 +665,10 @@ function! s:finish_bindings()
|
|||
endfunction
|
||||
|
||||
function! s:prepare(...)
|
||||
if empty(getcwd())
|
||||
throw 'Invalid current working directory. Cannot proceed.'
|
||||
endif
|
||||
|
||||
call s:job_abort()
|
||||
if s:switch_in()
|
||||
normal q
|
||||
|
|
Loading…
Reference in a new issue