summaryrefslogtreecommitdiffstats
path: root/src/dict.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-12-19 16:30:44 +0100
committerBram Moolenaar <Bram@vim.org>2020-12-19 16:30:44 +0100
commit03290b8444b69c6d7307755770467bc488384e1a (patch)
tree7b6b7eaaa41c2f2194a0712f6848fe8209552af6 /src/dict.c
parent1f33e0a7c4cd278158b37f91a2aa44f0bcd1f21a (diff)
patch 8.2.2162: Vim9: Cannot load or store autoload variablesv8.2.2162
Problem: Vim9: Cannot load or store autoload variables. Solution: Add ISN_LOADAUTO and ISN_STOREAUTO. (closes #7485)
Diffstat (limited to 'src/dict.c')
-rw-r--r--src/dict.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dict.c b/src/dict.c
index 051ba2f6ec..5abb9964ae 100644
--- a/src/dict.c
+++ b/src/dict.c
@@ -1073,7 +1073,7 @@ dict_extend(dict_T *d1, dict_T *d2, char_u *action)
&& HI2DI(hi2)->di_tv.v_type == VAR_FUNC
&& var_wrong_func_name(hi2->hi_key, di1 == NULL))
break;
- if (!valid_varname(hi2->hi_key))
+ if (!valid_varname(hi2->hi_key, TRUE))
break;
}
if (di1 == NULL)