0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 8.0.1445: cannot act on edits in the command line

Problem:    Cannot act on edits in the command line.
Solution:   Add the CmdlineChanged autocommand event. (xtal8, closes #2603,
            closes #2524)
This commit is contained in:
Bram Moolenaar
2018-01-31 15:48:32 +01:00
parent ec0557f08b
commit 153b704e20
6 changed files with 29 additions and 1 deletions

View File

@@ -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.