aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nvim/api/vim.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c
index 9ba855b61f..900c3bab58 100644
--- a/src/nvim/api/vim.c
+++ b/src/nvim/api/vim.c
@@ -1256,7 +1256,9 @@ void nvim_put(ArrayOf(String) lines, String type, Boolean direction,
// TODO: fix VIsual when cursor is before, or emulate the delete as well
flags |= lt(VIsual, curwin->w_cursor) ? PUT_CURSEND : 0;
}
+ msg_silent++; // Avoid "N more lines" message.
do_put(0, reg, direction ? BACKWARD : FORWARD, 1, flags);
+ msg_silent--;
VIsual_active = VIsual_was_active;
cleanup: