Merge 577cf5caa4
into 7bad3e7802
This commit is contained in:
commit
e2ba9b18d1
7
plug.vim
7
plug.vim
|
@ -726,10 +726,17 @@ function! s:prepare(...)
|
|||
|
||||
call s:job_abort()
|
||||
if s:switch_in()
|
||||
let new_window = winnr('$') > 1
|
||||
normal q
|
||||
else
|
||||
let new_window = 1
|
||||
endif
|
||||
|
||||
if new_window
|
||||
call s:new_window()
|
||||
else
|
||||
enew
|
||||
endif
|
||||
nnoremap <silent> <buffer> q :if b:plug_preview==1<bar>pc<bar>endif<bar>bd<cr>
|
||||
if a:0 == 0
|
||||
call s:finish_bindings()
|
||||
|
|
Loading…
Reference in New Issue
Block a user