diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-09-14 21:39:44 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-09-14 21:39:44 +0200 |
commit | 0b4c66c67a083f25816b9cdb8e76a41e02d9f560 (patch) | |
tree | b371efc32dbbbda792f5177e1269c0eb7f2a3d64 /src/ex_cmds.h | |
parent | efd5d8a967ba80f9e2826c35be98344d8f00af77 (diff) | |
download | vim-git-0b4c66c67a083f25816b9cdb8e76a41e02d9f560.tar.gz |
patch 8.2.1685: Vim9: cannot declare a constant valuev8.2.1685
Problem: Vim9: cannot declare a constant value.
Solution: Introduce ":const!".
Diffstat (limited to 'src/ex_cmds.h')
-rw-r--r-- | src/ex_cmds.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds.h b/src/ex_cmds.h index 3977c4d6e..8ef9eb41d 100644 --- a/src/ex_cmds.h +++ b/src/ex_cmds.h @@ -398,7 +398,7 @@ EXCMD(CMD_confirm, "confirm", ex_wrongmodifier, EX_NEEDARG|EX_EXTRA|EX_NOTRLCOM|EX_CMDWIN|EX_LOCK_OK, ADDR_NONE), EXCMD(CMD_const, "const", ex_let, - EX_EXTRA|EX_NOTRLCOM|EX_SBOXOK|EX_CMDWIN|EX_LOCK_OK, + EX_EXTRA|EX_BANG|EX_NOTRLCOM|EX_SBOXOK|EX_CMDWIN|EX_LOCK_OK, ADDR_NONE), EXCMD(CMD_copen, "copen", ex_copen, EX_RANGE|EX_COUNT|EX_TRLBAR, |