From b96c3d9a51ad37500623e45b143335b3d49a12dd Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Fri, 21 Feb 2025 08:24:52 +0800 Subject: vim-patch:9.1.1125: cannot loop through pum menu with multiline items (#32543) Problem: cannot loop through pum menu with multiline items with fuzzy and noselect in 'completeopt' (Tomasz N) Solution: remove unnecessary compl_no_select condition (glepnir) fixes: vim/vim#16641 closes: vim/vim#16674 https://github.com/vim/vim/commit/3af0a8d8f5b090a6a4b085e7b6ee0f5f87eda399 Co-authored-by: glepnir --- src/nvim/insexpand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/nvim/insexpand.c b/src/nvim/insexpand.c index 3d8e083a95..b0fa9146f1 100644 --- a/src/nvim/insexpand.c +++ b/src/nvim/insexpand.c @@ -1296,7 +1296,7 @@ static int ins_compl_build_pum(void) compl_shown_match = comp; } } - if (!shown_match_ok && comp == compl_shown_match && !compl_no_select) { + if (!shown_match_ok && comp == compl_shown_match) { cur = i; shown_match_ok = true; } -- cgit