mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 22:48:34 +00:00
API: nvim_put: "follow" parameter
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user