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

patch 8.2.4682: Vim9: can use :unlockvar for const variable

Problem:    Vim9: can use :unlockvar for const variable. (Ernie Rael)
Solution:   Check whether the variable is a const.
This commit is contained in:
Bram Moolenaar
2022-04-04 14:58:06 +01:00
parent 15f74fab65
commit 7a411a306f
8 changed files with 62 additions and 23 deletions

View File

@@ -303,7 +303,6 @@ static void ex_tag_cmd(exarg_T *eap, char_u *name);
# define ex_throw ex_ni
# define ex_try ex_ni
# define ex_unlet ex_ni
# define ex_unlockvar ex_ni
# define ex_while ex_ni
# define ex_import ex_ni
# define ex_export ex_ni