mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-06 07:02:09 -07:00
[neovim] Fix #281 - Properly close window with winnr 1
This commit is contained in:
@@ -249,7 +249,7 @@ function! s:calc_size(max, val)
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:getpos()
|
function! s:getpos()
|
||||||
return {'tab': tabpagenr(), 'win': winnr()}
|
return {'tab': tabpagenr(), 'win': winnr(), 'cnt': winnr('$')}
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:split(dict)
|
function! s:split(dict)
|
||||||
|
Reference in New Issue
Block a user