popupmenu: fix positioning with vsplits

This commit is contained in:
Björn Linse
2019-01-01 15:14:43 +01:00
parent 4e5f5e93c2
commit cdfa395ad8
2 changed files with 77 additions and 1 deletions

View File

@@ -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;