mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.3.561
Problem: Using refresh: always in a complete function breaks the "." command. (Val Markovic) Solution: Add match leader to the redo buffer. (Yasuhiro Matsumoto)
This commit is contained in:
@@ -3467,10 +3467,14 @@ ins_compl_addleader(c)
|
|||||||
(*mb_char2bytes)(c, buf);
|
(*mb_char2bytes)(c, buf);
|
||||||
buf[cc] = NUL;
|
buf[cc] = NUL;
|
||||||
ins_char_bytes(buf, cc);
|
ins_char_bytes(buf, cc);
|
||||||
|
AppendToRedobuff(buf);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
|
{
|
||||||
ins_char(c);
|
ins_char(c);
|
||||||
|
AppendCharToRedobuff(c);
|
||||||
|
}
|
||||||
|
|
||||||
/* If we didn't complete finding matches we must search again. */
|
/* If we didn't complete finding matches we must search again. */
|
||||||
if (ins_compl_need_restart())
|
if (ins_compl_need_restart())
|
||||||
|
@@ -714,6 +714,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 */
|
||||||
|
/**/
|
||||||
|
561,
|
||||||
/**/
|
/**/
|
||||||
560,
|
560,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user