mirror of
https://github.com/neovim/neovim.git
synced 2025-09-26 21:18:34 +00:00
*: Move some dictionary functions to typval.h and use char*
Also fixes buffer reusage in setmatches() and complete().
This commit is contained in:
@@ -1881,9 +1881,8 @@ static int vgetorpeek(int advance)
|
||||
(size_t)(mlen - typebuf.tb_maplen));
|
||||
}
|
||||
|
||||
del_typebuf(mlen, 0); /* remove the chars */
|
||||
set_option_value((char_u *)"paste",
|
||||
(long)!p_paste, NULL, 0);
|
||||
del_typebuf(mlen, 0); // Remove the chars.
|
||||
set_option_value("paste", !p_paste, NULL, 0);
|
||||
if (!(State & INSERT)) {
|
||||
msg_col = 0;
|
||||
msg_row = (int)Rows - 1;
|
||||
|
Reference in New Issue
Block a user