diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-08-01 14:52:32 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-08-01 14:52:32 +0200 |
commit | 73b8b0ae3acac220e823076f8ca1c14524ed96dd (patch) | |
tree | 0b9157946ccfc3a56e621e7e271c97207817a801 /src/vim.h | |
parent | 6db660bed9ed5063f8c6e0fadeef32d44bbd017d (diff) |
patch 8.2.3268: cannot use a block with :autocmd like with :commandv8.2.3268
Problem: Cannot use a block with :autocmd like with :command.
Solution: Add support for a {} block after :autocmd. (closes #8620)
Diffstat (limited to 'src/vim.h')
-rw-r--r-- | src/vim.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -2739,4 +2739,9 @@ long elapsed(DWORD start_tick); // flags for equal_type() #define ETYPE_ARG_UNKNOWN 1 +// flags used by user commands and :autocmd +#define UC_BUFFER 1 // -buffer: local to current buffer +#define UC_VIM9 2 // {} argument: Vim9 syntax. + + #endif // VIM__H |