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'.

576a4a6ff1

Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
Jan Edmund Lazo
2026-08-15 07:42:04 -04:00
parent 6947c8501d
commit 976d05b083

View File

@@ -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".