Skip to content
Myr

[neovim] Check tabpagenr() as well

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent f766531 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:plugin/fzf.vim+1 added-1 removed
283 unmodified lines
284 function! fzf.on_exit(id, code)285 let tab = tabpagenr()286 let wnr = winnr()287 execute 'bd!' self.buf288 if winnr() == wnr288 if winnr() == wnr && tabpagenr() == tab289 close290 endif291 if s:ptab == tab292 wincmd p
83 unmodified lines