mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.4552: in a :def function "put = expr" does not work
Problem: In a :def function "put = expr" does not work. Solution: Skip over white space. (closes #9936)
This commit is contained in:
@@ -1767,7 +1767,7 @@ compile_put(char_u *arg, exarg_T *eap, cctx_T *cctx)
|
||||
|
||||
if (eap->regname == '=')
|
||||
{
|
||||
char_u *p = line + 1;
|
||||
char_u *p = skipwhite(line + 1);
|
||||
|
||||
if (compile_expr0(&p, cctx) == FAIL)
|
||||
return NULL;
|
||||
|
Reference in New Issue
Block a user