patch 8.2.2420: too many problems with using all autocommand events
Problem: Too many problems with using all autocommand events.
Solution: Disallow defining an autocommand for all events.
diff --git a/src/errors.h b/src/errors.h
index 4bd4efe..b2f6a55 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -345,3 +345,5 @@
INIT(= N_("E1153: Invalid operation for bool"));
EXTERN char e_divide_by_zero[]
INIT(= N_("E1154: Divide by zero"));
+EXTERN char e_cannot_define_autocommands_for_all_events[]
+ INIT(= N_("E1155: Cannot define autocommands for ALL events"));