From 45c34bd84aa512b262f9d60e3f25f547cb5c189a Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Mon, 5 Aug 2019 03:33:45 +0200 Subject: :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 --- src/nvim/ex_docmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 . if (call_do_modelines && did_aucmd) { do_modelines(0); -- cgit