summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-01-12 13:26:03 +0100
committerBram Moolenaar <Bram@vim.org>2019-01-12 13:26:03 +0100
commit2b6185287adf53343ed5f49e967ae402c64063e4 (patch)
treec20885e2be00d5dcf7bcfd9cff1c2aee966a4de7 /runtime
parentc3c3158756ae074052b0db2a3e3a7ba192df5330 (diff)
downloadvim-git-2b6185287adf53343ed5f49e967ae402c64063e4.tar.gz
patch 8.1.0729: there is a SourcePre autocommand event but not a SourcePostv8.1.0729
Problem: There is a SourcePre autocommand event but not a SourcePost. Solution: Add the SourcePost autocommand event. (closes #3739)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/autocmd.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt
index 89238d9f7..b3790d5d5 100644
--- a/runtime/doc/autocmd.txt
+++ b/runtime/doc/autocmd.txt
@@ -925,6 +925,12 @@ ShellFilterPost After executing a shell command with
*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.