mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.1.0022: repeating put from expression register fails
Problem: Repeating put from expression register fails. Solution: Re-evaluate the expression register. (Andy Massimino, closes #2945)
This commit is contained in:
@@ -844,6 +844,14 @@ start_redo(long count, int old_redo)
|
||||
if (c >= '1' && c < '9')
|
||||
++c;
|
||||
add_char_buff(&readbuf2, c);
|
||||
|
||||
/* the expression register should be re-evaluated */
|
||||
if (c == '=')
|
||||
{
|
||||
add_char_buff(&readbuf2, CAR);
|
||||
cmd_silent = TRUE;
|
||||
}
|
||||
|
||||
c = read_redo(FALSE, old_redo);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user