diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2024-03-27 05:41:41 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-27 05:41:41 +0800 |
| commit | 77458e613b67b9e7607ae781bcfbdc2ff6b1b2ef (patch) | |
| tree | 7533d462b043d9f7a8f52e0c1669aabebc83eeb8 /runtime | |
| parent | de87197fdc3aa8123a060fc3a780e087c8e258ac (diff) | |
| download | rneovim-77458e613b67b9e7607ae781bcfbdc2ff6b1b2ef.tar.gz rneovim-77458e613b67b9e7607ae781bcfbdc2ff6b1b2ef.tar.bz2 rneovim-77458e613b67b9e7607ae781bcfbdc2ff6b1b2ef.zip | |
vim-patch:9.1.0207: No autocommand when writing session file (#28048)
Problem: No autocommand when writing session file
Solution: Add SessionWritePost autocommand
(Colin Kennedy)
fixes: vim/vim#14242
closes: vim/vim#14288
https://github.com/vim/vim/commit/e5f2280381250801a28dcff9823e6f94e7b163fc
Co-authored-by: Colin Kennedy <colinvfx@gmail.com>
Diffstat (limited to 'runtime')
| -rw-r--r-- | runtime/doc/autocmd.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt index 8890872e1a..b3974e3246 100644 --- a/runtime/doc/autocmd.txt +++ b/runtime/doc/autocmd.txt @@ -884,6 +884,9 @@ SafeState When nothing is pending, going to wait for the *SessionLoadPost* SessionLoadPost After loading the session file created using the |:mksession| command. + *SessionWritePost* +SessionWritePost After writing a session file by calling + the |:mksession| command. *ShellCmdPost* ShellCmdPost After executing a shell command with |:!cmd|, |:make| and |:grep|. Can be used to check for |