mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-26 06:46:35 +00:00
[vim] Make sure to delete fzf buffer
Close junegunn/fzf.vim#173 and #630
This commit is contained in:
parent
a6066175c6
commit
42e4992f06
@ -456,6 +456,10 @@ function! s:execute_term(dict, command, temps) abort
|
|||||||
return
|
return
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if bufexists(self.buf)
|
||||||
|
execute 'bd!' self.buf
|
||||||
|
endif
|
||||||
|
|
||||||
call s:pushd(self.dict)
|
call s:pushd(self.dict)
|
||||||
let lines = s:collect(self.temps)
|
let lines = s:collect(self.temps)
|
||||||
call s:callback(self.dict, lines)
|
call s:callback(self.dict, lines)
|
||||||
|
Loading…
Reference in New Issue
Block a user