diff src/vim.h @ 15442:3e2e1608efa4 v8.1.0729

patch 8.1.0729: there is a SourcePre autocommand event but not a SourcePost commit https://github.com/vim/vim/commit/2b6185287adf53343ed5f49e967ae402c64063e4 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 12 13:26:03 2019 +0100 patch 8.1.0729: there is a SourcePre autocommand event but not a SourcePost Problem: There is a SourcePre autocommand event but not a SourcePost. Solution: Add the SourcePost autocommand event. (closes https://github.com/vim/vim/issues/3739)
author Bram Moolenaar <Bram@vim.org>
date Sat, 12 Jan 2019 13:30:07 +0100
parents 6e4e0d43b20b
children 1d2b5c016f17
line wrap: on
line diff
--- a/src/vim.h
+++ b/src/vim.h
@@ -1324,6 +1324,7 @@ enum auto_event
     EVENT_SHELLFILTERPOST,	// after ":1,2!cmd", ":w !cmd", ":r !cmd".
     EVENT_SOURCECMD,		// sourcing a Vim script using command
     EVENT_SOURCEPRE,		// before sourcing a Vim script
+    EVENT_SOURCEPOST,		// after sourcing a Vim script
     EVENT_SPELLFILEMISSING,	// spell file missing
     EVENT_STDINREADPOST,	// after reading from stdin
     EVENT_STDINREADPRE,		// before reading from stdin