From 976d05b083fa8bdcf4fcea68f897201b4eecee01 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sat, 15 Aug 2026 07:42:04 -0400 Subject: [PATCH] vim-patch:8.1.1880: cannot show extra info for completion in a popup window Problem: Cannot show extra info for completion in a popup window. Solution: Add the "popup" entry in 'completeopt'. https://github.com/vim/vim/commit/576a4a6ff14da876d7c4418e5f27e926fcfa8d2a Co-authored-by: Bram Moolenaar --- src/nvim/popupmenu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nvim/popupmenu.c b/src/nvim/popupmenu.c index 8ae0b4f0ce..9702c5a814 100644 --- a/src/nvim/popupmenu.c +++ b/src/nvim/popupmenu.c @@ -1128,7 +1128,7 @@ static bool pum_set_selected(int n, int repeat) pum_first = MIN(pum_first, pum_size - pum_height); // Show extra info in the preview window if there is something and - // 'completeopt' contains "preview". + // 'completeopt' contains "preview" or "popup". // Skip this when tried twice already. // Skip this also when there is not much room. // Skip this for command-window when 'completeopt' contains "preview".