diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-08-05 03:33:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-05 03:33:45 +0200 |
commit | 45c34bd84aa512b262f9d60e3f25f547cb5c189a (patch) | |
tree | 71f59a64ff19b34029aedc4eec1ee26d3dcc8c74 /src | |
parent | 01ddb39699c2d84386c2a08c94ee9c175917a4ef (diff) | |
download | rneovim-45c34bd84aa512b262f9d60e3f25f547cb5c189a.tar.gz rneovim-45c34bd84aa512b262f9d60e3f25f547cb5c189a.tar.bz2 rneovim-45c34bd84aa512b262f9d60e3f25f547cb5c189a.zip |
:doautocmd : Never show "No matching autocommands" #10689
The message is useless, it doesn't even mention the event name.
vim_dev discussion:
https://groups.google.com/forum/#!msg/vim_dev/RTbq58TMq9w/Xr4rSoUTCgAJ
ref: https://github.com/vim/vim/issues/4300
Diffstat (limited to 'src')
-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 2a6ceb50f6..b315639681 100644 --- a/src/nvim/ex_docmd.c +++ b/src/nvim/ex_docmd.c @@ -4614,7 +4614,7 @@ static void ex_doautocmd(exarg_T *eap) int call_do_modelines = check_nomodeline(&arg); bool did_aucmd; - (void)do_doautocmd(arg, true, &did_aucmd); + (void)do_doautocmd(arg, false, &did_aucmd); // Only when there is no <nomodeline>. if (call_do_modelines && did_aucmd) { do_modelines(0); |