diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-04-10 19:14:29 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-10 19:14:29 +0800 |
commit | b531e4ea337e4ed86913d59777c5b6b15059a719 (patch) | |
tree | 25a3fefe4d50f84fd93476bc2b7fd876ad816c03 /src/nvim/ex_docmd.c | |
parent | ff726cc569994aab61a42c40270e679dc80cca7c (diff) | |
parent | 381f8f86da4bf5b24fb993eac281dffd2a2bcd1e (diff) | |
download | rneovim-b531e4ea337e4ed86913d59777c5b6b15059a719.tar.gz rneovim-b531e4ea337e4ed86913d59777c5b6b15059a719.tar.bz2 rneovim-b531e4ea337e4ed86913d59777c5b6b15059a719.zip |
Merge pull request #18062 from zeertzjq/vim-8.2.4723
vim-patch:8.2.{4723,4728}: the ModeChanged autocmd event is inefficient
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r-- | src/nvim/ex_docmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c index 1f17101aca..482bf69f67 100644 --- a/src/nvim/ex_docmd.c +++ b/src/nvim/ex_docmd.c @@ -187,7 +187,7 @@ void do_exmode(void) exmode_active = true; State = NORMAL; - trigger_modechanged(); + may_trigger_modechanged(); // When using ":global /pat/ visual" and then "Q" we return to continue // the :global command. |