0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.1126: Vim9: using :copen causes an error

Problem:    Vim9: using :copen causes an error.
Solution:   Add flag LET_NO_COMMAND in set_var().
This commit is contained in:
Bram Moolenaar
2020-07-04 17:39:10 +02:00
parent 962d721319
commit eeb27bfe28
3 changed files with 9 additions and 1 deletions

View File

@@ -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);
}
/*