aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/getchar.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2014-09-15 13:53:21 -0400
committerJustin M. Keyes <justinkz@gmail.com>2014-09-15 13:53:21 -0400
commit874296331b70f233e0fbd292e459b84d81d8349c (patch)
treee8de51ff8b54f38f1fb343682b7471ec459109f8 /src/nvim/getchar.c
parent3ec4e18cd00700abdffb564835dd4cd7e68a0093 (diff)
parent4f3d49d92104b871975f963d3f7cb1df111c577b (diff)
downloadrneovim-874296331b70f233e0fbd292e459b84d81d8349c.tar.gz
rneovim-874296331b70f233e0fbd292e459b84d81d8349c.tar.bz2
rneovim-874296331b70f233e0fbd292e459b84d81d8349c.zip
Merge pull request #1177 from NOLFXceptMe/vp-7.4.387
vim-patch:7.4.387
Diffstat (limited to 'src/nvim/getchar.c')
-rw-r--r--src/nvim/getchar.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c
index 6c772a8a66..0d61172d69 100644
--- a/src/nvim/getchar.c
+++ b/src/nvim/getchar.c
@@ -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);