diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-08-20 23:53:13 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-08-27 21:19:10 +0200 |
commit | 93e5f0235b8e85423d0284231661ba4b0d7caa07 (patch) | |
tree | aa1111e103437fe28f31a33fdf6d656495bc676f /src/nvim/lua/vim.lua | |
parent | 613296936ba30ae73f3391c2e3c36096f3703c06 (diff) | |
download | rneovim-93e5f0235b8e85423d0284231661ba4b0d7caa07.tar.gz rneovim-93e5f0235b8e85423d0284231661ba4b0d7caa07.tar.bz2 rneovim-93e5f0235b8e85423d0284231661ba4b0d7caa07.zip |
API: nvim_put: "follow" parameter
Diffstat (limited to 'src/nvim/lua/vim.lua')
-rw-r--r-- | src/nvim/lua/vim.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/lua/vim.lua b/src/nvim/lua/vim.lua index 6759e4436b..0b94417b3e 100644 --- a/src/nvim/lua/vim.lua +++ b/src/nvim/lua/vim.lua @@ -100,7 +100,7 @@ local function _paste(lines) local mode = call('mode', {}) local curline = call('line', {'.'}) -- vim.api.nvim_set_option('paste', true) - vim.api.nvim_put(lines, 'c', false) + vim.api.nvim_put(lines, 'c', true, true) -- vim.api.nvim_set_option('paste', false) -- TODO: do not redraw (slow!) until paste is finished. -- if eof then |