mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
updated for version 7.0-189
This commit is contained in:
parent
8c471fa0b3
commit
0739a1e671
14
src/edit.c
14
src/edit.c
@ -4970,16 +4970,18 @@ ins_complete(c)
|
|||||||
* just a safety check. */
|
* just a safety check. */
|
||||||
if (compl_curr_match->cp_number != -1)
|
if (compl_curr_match->cp_number != -1)
|
||||||
{
|
{
|
||||||
/* Space for 10 text chars. + 2x10-digit no.s */
|
/* Space for 10 text chars. + 2x10-digit no.s = 31.
|
||||||
static char_u match_ref[31];
|
* Translations may need more than twice that. */
|
||||||
|
static char_u match_ref[81];
|
||||||
|
|
||||||
if (compl_matches > 0)
|
if (compl_matches > 0)
|
||||||
sprintf((char *)IObuff, _("match %d of %d"),
|
vim_snprintf((char *)match_ref, sizeof(match_ref),
|
||||||
|
_("match %d of %d"),
|
||||||
compl_curr_match->cp_number, compl_matches);
|
compl_curr_match->cp_number, compl_matches);
|
||||||
else
|
else
|
||||||
sprintf((char *)IObuff, _("match %d"),
|
vim_snprintf((char *)match_ref, sizeof(match_ref),
|
||||||
compl_curr_match->cp_number);
|
_("match %d"),
|
||||||
vim_strncpy(match_ref, IObuff, 30);
|
compl_curr_match->cp_number);
|
||||||
edit_submode_extra = match_ref;
|
edit_submode_extra = match_ref;
|
||||||
edit_submode_highl = HLF_R;
|
edit_submode_highl = HLF_R;
|
||||||
if (dollar_vcol)
|
if (dollar_vcol)
|
||||||
|
@ -666,6 +666,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
189,
|
||||||
/**/
|
/**/
|
||||||
188,
|
188,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user