aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/getchar.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-08-24 13:54:27 +0200
committerJustin M. Keyes <justinkz@gmail.com>2019-08-27 22:13:45 +0200
commiteacc70fb3ebae6d76112ab10647a42339f5f223f (patch)
treeef498c6f108edc29498d319de32417d90d8c0bd7 /src/nvim/getchar.c
parentc95f5d166fad75ad8383f76675d06907687066a7 (diff)
downloadrneovim-eacc70fb3ebae6d76112ab10647a42339f5f223f.tar.gz
rneovim-eacc70fb3ebae6d76112ab10647a42339f5f223f.tar.bz2
rneovim-eacc70fb3ebae6d76112ab10647a42339f5f223f.zip
API: nvim_paste
Diffstat (limited to 'src/nvim/getchar.c')
-rw-r--r--src/nvim/getchar.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c
index d1b4751a00..0ef0c852a4 100644
--- a/src/nvim/getchar.c
+++ b/src/nvim/getchar.c
@@ -523,15 +523,12 @@ void AppendToRedobuff(const char *s)
}
}
-/*
- * Append to Redo buffer literally, escaping special characters with CTRL-V.
- * K_SPECIAL and CSI are escaped as well.
- */
-void
-AppendToRedobuffLit (
- char_u *str,
- int len /* length of "str" or -1 for up to the NUL */
-)
+/// Append to Redo buffer literally, escaping special characters with CTRL-V.
+/// K_SPECIAL and CSI are escaped as well.
+///
+/// @param str String to append
+/// @param len Length of `str` or -1 for up to the NUL.
+void AppendToRedobuffLit(const char_u *str, int len)
{
if (block_redo) {
return;