It seems popup.open place floating window on Neovim in wrong place.
It seems Vim's col/row starts from 1 but Neovim starts from 0. We should consider the col/row starts from 1 in both case (I'm not sure. We need to make sure this before fix.)
Provide a minimal vimrc with less than 50 lines to reproduce
set nonumber
set signcolumn=no
" Optional
set showtabline=0
call denops#request('whateverdenopsplugin', 'popup', [])
Describe the bug
It seems
popup.open
place floating window on Neovim in wrong place.It seems Vim's col/row starts from 1 but Neovim starts from 0. We should consider the col/row starts from 1 in both case (I'm not sure. We need to make sure this before fix.)
Provide a minimal vimrc with less than 50 lines to reproduce
How to reproduce the problem from Vim startup
Expected behavior
Both Vim and Neovim place window in same location.
Actual behavior
It seems Neovim put floating window in invalid location.
Screenshots (if need)
Your environment
uname -a
(macOS/Linux) orver
(Windows)deno --version
vim --version
ornvim --version
git log -1
(run in the denops.vim repository)Additional context
Files