mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 10:56:31 +00:00
API: nvim_put: Avoid "N more lines" message
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user