From aa681df25fc1b1c22182c8150e53952fefa63e10 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Wed, 22 May 2019 23:44:57 -0400 Subject: vim-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 vim/vim#3739) https://github.com/vim/vim/commit/2b6185287adf53343ed5f49e967ae402c64063e4 --- runtime/doc/autocmd.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'runtime') diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt index 4cc1f53cca..461167015d 100644 --- a/runtime/doc/autocmd.txt +++ b/runtime/doc/autocmd.txt @@ -955,6 +955,12 @@ ShellFilterPost After executing a shell command with *SourcePre* SourcePre Before sourcing a Vim script. |:source| is the name of the file being sourced. + *SourcePost* +SourcePost After sourcing a Vim script. |:source| + 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| is the name of the file being sourced. -- cgit