1
0
forked from aniani/vim

patch 8.1.1539: not easy to define a variable and lock it

Problem:    Not easy to define a variable and lock it.
Solution:   Add ":const".
This commit is contained in:
Bram Moolenaar
2019-06-15 15:45:06 +02:00
parent dfa97f2aed
commit 9937a05543
8 changed files with 397 additions and 53 deletions

View File

@@ -401,6 +401,9 @@ EX(CMD_continue, "continue", ex_continue,
EX(CMD_confirm, "confirm", ex_wrongmodifier,
NEEDARG|EXTRA|NOTRLCOM|CMDWIN,
ADDR_NONE),
EX(CMD_const, "const", ex_const,
EXTRA|NOTRLCOM|SBOXOK|CMDWIN,
ADDR_NONE),
EX(CMD_copen, "copen", ex_copen,
RANGE|COUNT|TRLBAR,
ADDR_OTHER),