mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 06:28:35 +00:00
API: nvim_paste
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user