paste: fixup tests

This commit is contained in:
Justin M. Keyes
2019-08-19 01:01:40 +02:00
parent 4389401a7c
commit abd55be19a
2 changed files with 7 additions and 12 deletions

View File

@@ -96,7 +96,7 @@ end
-- Default paste function.
local function _paste(data)
-- local eof = (data == {''})
local curline = vim.api.nvim_call_function('line', {'.'}) - 1
local curline = vim.api.nvim_call_function('line', {'.'})
vim.api.nvim_buf_set_lines(
0,
curline,