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:
@@ -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),
|
||||
|
Reference in New Issue
Block a user