mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 13:38:34 +00:00
vim-patch:9.1.0756: missing change from patch v9.1.0754 (#30636)
Problem: missing change from patch v9.1.0754
Solution: use correct width for the actual item
in pum_redraw() (glepnir)
closes: vim/vim#15786
a6d9e3c4e0
This commit is contained in:
@@ -764,7 +764,7 @@ void pum_redraw(void)
|
||||
// Stop when there is nothing more to display.
|
||||
if ((j == 2)
|
||||
|| (next_isempty && (j == 1 || (j == 0 && pum_get_item(idx, order[j + 2]) == NULL)))
|
||||
|| (pum_base_width + n >= pum_width)) {
|
||||
|| (basic_width + n >= pum_width)) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user