Closed Shougo closed 3 years ago
It should check winnr('$')
value.
And it should use winid
instead of current widow.
Current window may be changed.
Thanks for reporting.
The invalid id 0
in the error message is not window number but error value of nvim_open_win()
.
So this is a problem of opening windows.
For workaround, I will add error check of nvim_open_win()
.
Oh, OK.
Can you update and check it?
Thanks. I will update it.
It seems fixed.
That's good! Thanks for checking.