mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.1637: Vim9: :put ={expr} does not work inside :def function
Problem: Vim9: :put ={expr} does not work inside :def function. Solution: Add ISN_PUT. (closes #6397)
This commit is contained in:
@@ -430,7 +430,8 @@ do_mouse(
|
||||
insert_reg(regname, TRUE);
|
||||
else
|
||||
{
|
||||
do_put(regname, BACKWARD, 1L, fixindent | PUT_CURSEND);
|
||||
do_put(regname, NULL, BACKWARD, 1L,
|
||||
fixindent | PUT_CURSEND);
|
||||
|
||||
// Repeat it with CTRL-R CTRL-O r or CTRL-R CTRL-P r
|
||||
AppendCharToRedobuff(Ctrl_R);
|
||||
@@ -849,7 +850,7 @@ do_mouse(
|
||||
// to this position
|
||||
if (restart_edit != 0)
|
||||
where_paste_started = curwin->w_cursor;
|
||||
do_put(regname, dir, count, fixindent | PUT_CURSEND);
|
||||
do_put(regname, NULL, dir, count, fixindent | PUT_CURSEND);
|
||||
}
|
||||
|
||||
#if defined(FEAT_QUICKFIX)
|
||||
|
Reference in New Issue
Block a user