diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-08-05 16:20:03 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-08-05 16:20:03 +0200 |
commit | 803af686e23c7bb17273bb0c78ff0bf97e8d23f4 (patch) | |
tree | f60e12497c9aacaa99c37aeeeeb56caa09fe079b /src/ex_cmds.h | |
parent | c5da1fb7ea4126b6c70426cf0add51e720b7cd3f (diff) | |
download | vim-git-803af686e23c7bb17273bb0c78ff0bf97e8d23f4.tar.gz |
patch 8.2.1376: Vim9: expression mapping causes error for using :importv8.2.1376
Problem: Vim9: expression mapping causes error for using :import.
Solution: Add EX_LOCK_OK to :import and :export. (closes 3606)
Diffstat (limited to 'src/ex_cmds.h')
-rw-r--r-- | src/ex_cmds.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ex_cmds.h b/src/ex_cmds.h index 9ae85f0f3..c65b956ee 100644 --- a/src/ex_cmds.h +++ b/src/ex_cmds.h @@ -572,7 +572,7 @@ EXCMD(CMD_exit, "exit", ex_exit, EX_RANGE|EX_WHOLEFOLD|EX_BANG|EX_FILE1|EX_ARGOPT|EX_DFLALL|EX_TRLBAR|EX_CMDWIN|EX_LOCK_OK, ADDR_LINES), EXCMD(CMD_export, "export", ex_export, - EX_EXTRA|EX_NOTRLCOM, + EX_EXTRA|EX_NOTRLCOM|EX_LOCK_OK, ADDR_NONE), EXCMD(CMD_exusage, "exusage", ex_exusage, EX_TRLBAR, @@ -698,7 +698,7 @@ EXCMD(CMD_imenu, "imenu", ex_menu, EX_RANGE|EX_ZEROR|EX_EXTRA|EX_TRLBAR|EX_NOTRLCOM|EX_CTRLV|EX_CMDWIN|EX_LOCK_OK, ADDR_OTHER), EXCMD(CMD_import, "import", ex_import, - EX_EXTRA|EX_NOTRLCOM, + EX_EXTRA|EX_NOTRLCOM|EX_LOCK_OK, ADDR_NONE), EXCMD(CMD_inoremap, "inoremap", ex_map, EX_EXTRA|EX_TRLBAR|EX_NOTRLCOM|EX_CTRLV|EX_CMDWIN|EX_LOCK_OK, |