updated for version 7.0221
diff --git a/src/option.c b/src/option.c
index e464806..611f171 100644
--- a/src/option.c
+++ b/src/option.c
@@ -768,7 +768,7 @@
{"completeopt", "cot", P_STRING|P_VI_DEF|P_COMMA|P_NODUP,
#ifdef FEAT_INS_EXPAND
(char_u *)&p_cot, PV_NONE,
- {(char_u *)"menu", (char_u *)0L}
+ {(char_u *)"menu,preview", (char_u *)0L}
#else
(char_u *)NULL, PV_NONE,
{(char_u *)0L, (char_u *)0L}
@@ -2778,7 +2778,7 @@
static char *(p_fcl_values[]) = {"all", NULL};
#endif
#ifdef FEAT_INS_EXPAND
-static char *(p_cot_values[]) = {"menu", "menuone", "longest", NULL};
+static char *(p_cot_values[]) = {"menu", "menuone", "longest", "preview", NULL};
#endif
static void set_option_default __ARGS((int, int opt_flags, int compatible));
diff --git a/src/structs.h b/src/structs.h
index 2d538a8..ba98339 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -2244,6 +2244,7 @@
typedef struct
{
char_u *pum_text; /* main menu text */
+ char_u *pum_kind; /* extra kind text (may be truncated) */
char_u *pum_extra; /* extra menu text (may be truncated) */
char_u *pum_info; /* extra info */
} pumitem_T;