diff runtime/doc/autocmd.txt @ 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 9d3d7b0f4861
children f0f06837a699
line wrap: on
line diff
--- a/runtime/doc/autocmd.txt
+++ b/runtime/doc/autocmd.txt
@@ -925,6 +925,12 @@ ShellFilterPost			After executing a shel
 							*SourcePre*
 SourcePre			Before sourcing a Vim script. |:source|
 				<afile> is the name of the file being sourced.
+							*SourcePost*
+SourcePost			After sourcing a Vim script. |:source|
+				<afile> is the name of the file being sourced.
+				Not triggered when sourcing was interrupted.
+				Also triggered after a SourceCmd autocommand
+				was triggered.
 							*SourceCmd*
 SourceCmd			When sourcing a Vim script. |:source|
 				<afile> is the name of the file being sourced.