diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-08-30 09:15:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-30 09:15:43 +0200 |
commit | 06e693cdc9e6f960dfbc4594f0d80265589ce7c3 (patch) | |
tree | a134ef031cb0751692e71928d246a565403d9c87 /src/nvim/tui/input.c | |
parent | 4b8a16153e79644a5df9f6dc94215ac009c26c33 (diff) | |
parent | f5fd699c527945d795dab9f3529333df6d0561d0 (diff) | |
download | rneovim-06e693cdc9e6f960dfbc4594f0d80265589ce7c3.tar.gz rneovim-06e693cdc9e6f960dfbc4594f0d80265589ce7c3.tar.bz2 rneovim-06e693cdc9e6f960dfbc4594f0d80265589ce7c3.zip |
Merge #10884 '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); |