diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-01-31 15:48:32 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-01-31 15:48:32 +0100 |
commit | 153b704e20f9c269450a7d3ea8cafcf942579ab7 (patch) | |
tree | ab9438b2370889b2f49320fae762525be1ad3562 /src/ex_getln.c | |
parent | ec0557f08b2660118eaedb94471e5ab0f87cf2a3 (diff) | |
download | vim-git-153b704e20f9c269450a7d3ea8cafcf942579ab7.tar.gz |
patch 8.0.1445: cannot act on edits in the command linev8.0.1445
Problem: Cannot act on edits in the command line.
Solution: Add the CmdlineChanged autocommand event. (xtal8, closes #2603,
closes #2524)
Diffstat (limited to 'src/ex_getln.c')
-rw-r--r-- | src/ex_getln.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c index 421c6b7d5..837d29998 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c @@ -1951,6 +1951,11 @@ cmdline_not_changed: #endif cmdline_changed: +#ifdef FEAT_AUTOCMD + /* Trigger CmdlineChanged autocommands. */ + trigger_cmd_autocmd(cmdline_type, EVENT_CMDLINECHANGED); +#endif + #ifdef FEAT_SEARCH_EXTRA /* * 'incsearch' highlighting. |