mirror of
https://github.com/neovim/neovim.git
synced 2026-08-26 00:51:53 +00:00
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:
@@ -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".
|
||||
|
||||
Reference in New Issue
Block a user