mirror of
https://github.com/neovim/neovim.git
synced 2025-09-22 11:18:19 +00:00
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 "/"
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user