mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.2.0284: Vim9: assignment test fails
Problem: Vim9: assignment test fails. Solution: Avoid duplicating "s:".
This commit is contained in:
parent
fd1823e0b7
commit
c0d656c89d
@ -738,6 +738,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
284,
|
||||
/**/
|
||||
283,
|
||||
/**/
|
||||
|
@ -3393,7 +3393,7 @@ compile_assignment(char_u *arg, exarg_T *eap, cmdidx_T cmdidx, cctx_T *cctx)
|
||||
generate_LOAD(cctx, ISN_LOADG, 0, name + 2, type);
|
||||
break;
|
||||
case dest_script:
|
||||
compile_load_scriptvar(cctx, name);
|
||||
compile_load_scriptvar(cctx, name + (name[1] == ':' ? 2 : 0));
|
||||
break;
|
||||
case dest_env:
|
||||
// Include $ in the name here
|
||||
|
Loading…
x
Reference in New Issue
Block a user