m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-17 15:53:39 -05:00

[neovim] Fix #281 - Properly close window with winnr 1

This commit is contained in:
Junegunn Choi
2015-06-27 14:23:51 +09:00
parent 938151a834
commit 11db046fc7

View File

@@ -249,7 +249,7 @@ function! s:calc_size(max, val)
endfunction
function! s:getpos()
return {'tab': tabpagenr(), 'win': winnr()}
return {'tab': tabpagenr(), 'win': winnr(), 'cnt': winnr('$')}
endfunction
function! s:split(dict)