Skip to content
Snippets Groups Projects
Commit 11db046f authored by Junegunn Choi's avatar Junegunn Choi
Browse files

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

parent 938151a8
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment