diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2015-05-14 02:19:40 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2015-05-14 02:19:40 +0900 |
| commit | 2b7c3df66ba7cd9358a97001e27c012d9899444b (patch) | |
| tree | d3fb5b3f2b11b359feb9a4fa924a46b908214539 /plugin/fzf.vim | |
| parent | f766531e7464f7c5174c881eb51e41524c972eef (diff) | |
| download | fzf-2b7c3df66ba7cd9358a97001e27c012d9899444b.tar.gz | |
[neovim] Check tabpagenr() as well
Diffstat (limited to 'plugin/fzf.vim')
| -rw-r--r-- | plugin/fzf.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/fzf.vim b/plugin/fzf.vim index b6df6146..ae266464 100644 --- a/plugin/fzf.vim +++ b/plugin/fzf.vim @@ -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 |
