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);
|
||||
buf[cc] = NUL;
|
||||
ins_char_bytes(buf, cc);
|
||||
AppendToRedobuff(buf);
|
||||
}
|
||||
else
|
||||
#endif
|
||||
{
|
||||
ins_char(c);
|
||||
AppendCharToRedobuff(c);
|
||||
}
|
||||
|
||||
/* If we didn't complete finding matches we must search again. */
|
||||
if (ins_compl_need_restart())
|
||||
|
@@ -714,6 +714,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
561,
|
||||
/**/
|
||||
560,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user