int cp_flags; // CP_ values
int cp_number; // sequence number
int cp_score; // fuzzy match score
- int cp_user_abbr_hlattr; // highlight attribute to combine with
- // for abbr.
+ int cp_user_abbr_hlattr; // highlight attribute for abbr
int cp_user_kind_hlattr; // highlight attribute for kind
};
}
if (attrs != NULL)
- {
- vim_free(attrs);
- attrs = NULL;
- }
+ VIM_CLEAR(attrs);
if (*p != TAB)
break;
if (pum_rl)
{
screen_puts_len((char_u *)" ", 2, row, col - 1,
- orig_attr);
+ attr);
col -= 2;
}
else
#endif
{
screen_puts_len((char_u *)" ", 2, row, col,
- orig_attr);
+ attr);
col += 2;
}
totwidth += 2;
if (pum_rl)
{
screen_fill(row, row + 1, pum_col - basic_width - n + 1,
- col + 1, ' ', ' ', attr);
+ col + 1, ' ', ' ', orig_attr);
col = pum_col - basic_width - n;
}
else
char_u *pum_info; // extra info
int pum_score; // fuzzy match score
int pum_idx; // index of item before sorting by score
- int pum_user_abbr_hlattr; // highlight attribute to combine with
+ int pum_user_abbr_hlattr; // highlight attribute for abbr
int pum_user_kind_hlattr; // highlight attribute for kind
} pumitem_T;
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 772,
/**/
771,
/**/