vim-patch:7.4.387

Problem:    "4gro" replaces one character then executes "ooo". (Urtica
Dioica)
Solution:   Write the ESC in the second stuff buffer.

https://code.google.com/p/vim/source/detail?r=v7-4-387
This commit is contained in:
Naveen Kumar Molleti
2014-09-15 00:54:39 +05:30
parent 0838b97739
commit 4f3d49d921
6 changed files with 30 additions and 4 deletions

View File

@@ -601,6 +601,13 @@ void stuffReadbuff(char_u *s)
add_buff(&readbuf1, s, -1L);
}
/// Append string "s" to the redo stuff buffer.
/// @remark CSI and K_SPECIAL must already have been escaped.
void stuffRedoReadbuff(char_u *s)
{
add_buff(&readbuf2, s, -1L);
}
void stuffReadbuffLen(char_u *s, long len)
{
add_buff(&readbuf1, s, len);