diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2019-01-01 15:14:43 +0100 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2019-01-01 15:20:37 +0100 |
commit | cdfa395ad83a019e27044b1b630aa44b08df6d71 (patch) | |
tree | 40a5ac8b83f46b47c37688ad260e4760dc054a18 /src | |
parent | 4e5f5e93c281804321c985ca63b42a23e25de94a (diff) | |
download | rneovim-cdfa395ad83a019e27044b1b630aa44b08df6d71.tar.gz rneovim-cdfa395ad83a019e27044b1b630aa44b08df6d71.tar.bz2 rneovim-cdfa395ad83a019e27044b1b630aa44b08df6d71.zip |
popupmenu: fix positioning with vsplits
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/popupmnu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/popupmnu.c b/src/nvim/popupmnu.c index b5c74b5255..056770f2c0 100644 --- a/src/nvim/popupmnu.c +++ b/src/nvim/popupmnu.c @@ -94,7 +94,7 @@ void pum_display(pumitem_T *array, int size, int selected, bool array_changed) if (curwin->w_p_rl) { col = curwin->w_width - curwin->w_wcol - 1; } else { - col = curwin->w_wincol + curwin->w_wcol; + col = curwin->w_wcol; } int grid = (int)curwin->w_grid.handle; |