patch 8.1.2192: cannot easily fill the info popup asynchronously
Problem: Cannot easily fill the info popup asynchronously.
Solution: Add the "popuphidden" value to 'completeopt'. (closes #4924)
diff --git a/src/vim.h b/src/vim.h
index e92352c..43eecf0 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -2112,6 +2112,13 @@
FLUSH_INPUT // flush typebuf and inchar() input
} flush_buffers_T;
+// Argument for prepare_tagpreview()
+typedef enum {
+ USEPOPUP_NONE,
+ USEPOPUP_NORMAL, // use info popup
+ USEPOPUP_HIDDEN // use info popup initially hidden
+} use_popup_T;
+
#include "ex_cmds.h" // Ex command defines
#include "spell.h" // spell checking stuff