[neovim] Fix #281 - Properly close window with winnr 1
This commit is contained in:
parent
938151a834
commit
11db046fc7
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user