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