From b98d1cf68bd1d78d8170a8d994ba7dae5540962a Mon Sep 17 00:00:00 2001 From: Björn Linse Date: Mon, 1 Jul 2019 13:42:46 +0200 Subject: cmdline: correct the column position of wildoptions=pum popupmenu - position might get invalid with "longest" match - position might be wrong when completed pattern ends in "/" --- src/nvim/screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/screen.c') diff --git a/src/nvim/screen.c b/src/nvim/screen.c index 19dff0a0f0..4ea196fa44 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -4657,7 +4657,7 @@ win_redr_status_matches ( int showtail ) { -#define L_MATCH(m) (showtail ? sm_gettail(matches[m]) : matches[m]) +#define L_MATCH(m) (showtail ? sm_gettail(matches[m], false) : matches[m]) int row; char_u *buf; int len; -- cgit