summaryrefslogtreecommitdiffstats
path: root/src/ex_docmd.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-08-18 15:25:17 +0200
committerBram Moolenaar <Bram@vim.org>2019-08-18 15:25:17 +0200
commit576a4a6ff14da876d7c4418e5f27e926fcfa8d2a (patch)
tree6c34c1eaed6f1b46c573bb0fe3ce8d375e678e29 /src/ex_docmd.c
parent93cf85f9ef02931de3f8c8e536a137da0b48b7dc (diff)
patch 8.1.1880: cannot show extra info for completion in a popup windowv8.1.1880
Problem: Cannot show extra info for completion in a popup window. Solution: Add the "popup" entry in 'completeopt'.
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r--src/ex_docmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 941ad840b6..a9ae2997da 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -5825,7 +5825,7 @@ ex_pclose(exarg_T *eap)
}
# 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 @@ ex_pedit(exarg_T *eap)
// 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);