mirror of
https://github.com/vim/vim.git
synced 2025-09-30 04:44:14 -04:00
updated for version 7.0193
This commit is contained in:
@@ -84,7 +84,7 @@ pum_display(array, size, selected, row, height, col)
|
||||
}
|
||||
|
||||
/* don't display when we only have room for one line */
|
||||
if (pum_height <= 1)
|
||||
if (pum_height < 1 || (pum_height == 1 && size > 1))
|
||||
return;
|
||||
|
||||
/* Compute the width of the widest match. */
|
||||
|
Reference in New Issue
Block a user