diff --git a/src/evalvars.c b/src/evalvars.c index 131486750c..3dab22bb2e 100644 --- a/src/evalvars.c +++ b/src/evalvars.c @@ -2852,7 +2852,7 @@ set_var( typval_T *tv, int copy) // make copy of value in "tv" { - set_var_const(name, NULL, tv, copy, 0); + set_var_const(name, NULL, tv, copy, LET_NO_COMMAND); } /* diff --git a/src/testdir/test_vim9_script.vim b/src/testdir/test_vim9_script.vim index 8411621419..e548717986 100644 --- a/src/testdir/test_vim9_script.vim +++ b/src/testdir/test_vim9_script.vim @@ -2219,6 +2219,12 @@ def Test_source_vim9_from_legacy() delete('Xvim9_script.vim') enddef +def Test_vim9_copen() + # this was giving an error for setting w:quickfix_title + copen + quit +enddef + " Keep this last, it messes up highlighting. def Test_substitute_cmd() new diff --git a/src/version.c b/src/version.c index b36f248f8d..d1607ae15d 100644 --- a/src/version.c +++ b/src/version.c @@ -754,6 +754,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1126, /**/ 1125, /**/