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'.
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 941ad84..a9ae299 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -5825,7 +5825,7 @@
}
# ifdef FEAT_TEXT_PROP
// Also when 'previewpopup' is empty, it might have been cleared.
- popup_close_preview();
+ popup_close_preview(FALSE);
# endif
}
#endif
@@ -8614,7 +8614,7 @@
// Open the preview window or popup and make it the current window.
g_do_tagpreview = p_pvh;
- prepare_tagpreview(TRUE);
+ prepare_tagpreview(TRUE, TRUE, FALSE);
// Edit the file.
do_exedit(eap, NULL);