mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 20:08:17 +00:00
paste: do not clobber msg area for small pastes
This commit is contained in:
@@ -203,8 +203,7 @@ paste = (function()
|
||||
vim.api.nvim_command(('echo "%s"'):format(dots))
|
||||
end
|
||||
if phase == -1 or phase == 3 then
|
||||
vim.api.nvim_command('redraw')
|
||||
vim.api.nvim_command('echo ""')
|
||||
vim.api.nvim_command('redraw'..(tick > 1 and '|echo ""' or ''))
|
||||
end
|
||||
return true -- Paste will not continue if not returning `true`.
|
||||
end
|
||||
|
Reference in New Issue
Block a user