diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-06-15 15:45:06 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-06-15 15:45:06 +0200 |
commit | 9937a055437ef67b57a1bdec8f0799b669c9dbf0 (patch) | |
tree | 64fee6ad078086b7714995b03cb7891641d13533 /src/ex_cmds.h | |
parent | dfa97f2aed3d8ca195d09e2ce91cef227f933961 (diff) |
patch 8.1.1539: not easy to define a variable and lock itv8.1.1539
Problem: Not easy to define a variable and lock it.
Solution: Add ":const".
Diffstat (limited to 'src/ex_cmds.h')
-rw-r--r-- | src/ex_cmds.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ex_cmds.h b/src/ex_cmds.h index 5ec69be364..4e5c0aac27 100644 --- a/src/ex_cmds.h +++ b/src/ex_cmds.h @@ -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), |