mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-01 12:42:01 -07:00
[neovim] Check tabpagenr() as well
This commit is contained in:
@@ -285,7 +285,7 @@ function! s:execute_term(dict, command, temps)
|
||||
let tab = tabpagenr()
|
||||
let wnr = winnr()
|
||||
execute 'bd!' self.buf
|
||||
if winnr() == wnr
|
||||
if winnr() == wnr && tabpagenr() == tab
|
||||
close
|
||||
endif
|
||||
if s:ptab == tab
|
||||
|
Reference in New Issue
Block a user