diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-04-26 13:50:41 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-04-26 13:50:41 +0200 |
commit | 6378c4fef37df05c99e8a43616063b4ddb692876 (patch) | |
tree | ec861e06b203e764b5fad2cb92c38f30b66f919e /src/ex_cmds.h | |
parent | cfe435d7feacf123ac060747b885f7c4328062ea (diff) |
patch 8.2.0641: Vim9: not expanded in :hardcopy and syn-includev8.2.0641
Problem: Vim9: not expanded in :hardcopy and "syntax include".
Solution: Add the EX_EXPAND flag. Expend "syntax include".
Diffstat (limited to 'src/ex_cmds.h')
-rw-r--r-- | src/ex_cmds.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ex_cmds.h b/src/ex_cmds.h index 0c158e1bd5..25a0853bda 100644 --- a/src/ex_cmds.h +++ b/src/ex_cmds.h @@ -53,6 +53,8 @@ #define EX_MODIFY 0x100000 // forbidden in non-'modifiable' buffer #define EX_FLAGS 0x200000 // allow flags after count in argument #define EX_RESTRICT 0x400000 // forbidden in restricted mode +#define EX_EXPAND 0x800000 // expands wildcards later + #define EX_FILES (EX_XFILE | EX_EXTRA) // multiple extra files allowed #define EX_FILE1 (EX_FILES | EX_NOSPC) // 1 file, defaults to current file #define EX_WORD1 (EX_EXTRA | EX_NOSPC) // one extra word allowed @@ -653,7 +655,7 @@ EXCMD(CMD_helptags, "helptags", ex_helptags, EX_NEEDARG|EX_FILES|EX_TRLBAR|EX_CMDWIN, ADDR_NONE), EXCMD(CMD_hardcopy, "hardcopy", ex_hardcopy, - EX_RANGE|EX_COUNT|EX_EXTRA|EX_TRLBAR|EX_DFLALL|EX_BANG, + EX_RANGE|EX_COUNT|EX_EXTRA|EX_EXPAND|EX_TRLBAR|EX_DFLALL|EX_BANG, ADDR_LINES), EXCMD(CMD_highlight, "highlight", ex_highlight, EX_BANG|EX_EXTRA|EX_TRLBAR|EX_SBOXOK|EX_CMDWIN, |