From cdfa395ad83a019e27044b1b630aa44b08df6d71 Mon Sep 17 00:00:00 2001 From: Björn Linse Date: Tue, 1 Jan 2019 15:14:43 +0100 Subject: popupmenu: fix positioning with vsplits --- src/nvim/popupmnu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit