mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 06:58:35 +00:00
vim-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 vim/vim#2945)
833093bfb0
This commit is contained in:
@@ -755,6 +755,13 @@ int 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