diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-08-30 00:16:19 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-08-30 08:33:14 +0200 |
commit | b6192a9920a75d787e256453a841b9742a7f0599 (patch) | |
tree | 79f2a4fd4a9eec18c1ae650b418f28def3e4de0b /src/nvim/tui/input.c | |
parent | 4b8a16153e79644a5df9f6dc94215ac009c26c33 (diff) | |
download | rneovim-b6192a9920a75d787e256453a841b9742a7f0599.tar.gz rneovim-b6192a9920a75d787e256453a841b9742a7f0599.tar.bz2 rneovim-b6192a9920a75d787e256453a841b9742a7f0599.zip |
API: nvim_paste: add `crlf` parameter
Diffstat (limited to 'src/nvim/tui/input.c')
-rw-r--r-- | src/nvim/tui/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/tui/input.c b/src/nvim/tui/input.c index c74ef58ba1..1f67e6ce13 100644 --- a/src/nvim/tui/input.c +++ b/src/nvim/tui/input.c @@ -108,7 +108,7 @@ static void tinput_wait_enqueue(void **argv) if (input->paste) { Error err = ERROR_INIT; // Paste phase: "continue" (unless handler canceled). - input->paste = !nvim_paste(keys, input->paste, &err) + input->paste = !nvim_paste(keys, true, input->paste, &err) ? 0 : (1 == input->paste ? 2 : input->paste); rbuffer_consumed(input->key_buffer, len); rbuffer_reset(input->key_buffer); |