diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-07-30 16:00:58 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-07-30 16:00:58 +0200 |
commit | 4f5ce33d415a0eeedd7f04baa6715431e72652e1 (patch) | |
tree | 2ba79c0e7cdd6e2ed02b741142cf0a4822e67093 /src/getchar.c | |
parent | 23fb7a995534f45a497761461d487e38cc1067f7 (diff) |
updated for version 7.4.387v7.4.387
Problem: "4gro" replaces one character then executes "ooo". (Urtica Dioica)
Solution: Write the ESC in the second stuff buffer.
Diffstat (limited to 'src/getchar.c')
-rw-r--r-- | src/getchar.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/getchar.c b/src/getchar.c index 9c1ab0f4bd..d646dc4c15 100644 --- a/src/getchar.c +++ b/src/getchar.c @@ -678,6 +678,17 @@ stuffReadbuff(s) add_buff(&readbuf1, s, -1L); } +/* + * Append string "s" to the redo stuff buffer. + * CSI and K_SPECIAL must already have been escaped. + */ + void +stuffRedoReadbuff(s) + char_u *s; +{ + add_buff(&readbuf2, s, -1L); +} + void stuffReadbuffLen(s, len) char_u *s; |