summaryrefslogtreecommitdiffstats
path: root/src/autocmd.c
diff options
context:
space:
mode:
authorColin Kennedy <colinvfx@gmail.com>2024-03-26 18:20:16 +0100
committerChristian Brabandt <cb@256bit.org>2024-03-26 18:23:06 +0100
commite5f2280381250801a28dcff9823e6f94e7b163fc (patch)
tree1c61f4c8263d8d83a22f1595fa36e27ed8d0b155 /src/autocmd.c
parent63d68c2c218eeb80c164e1c56c53f51a9e92a5eb (diff)
patch 9.1.0207: No autocommand when writing session filev9.1.0207
Problem: No autocommand when writing session file Solution: Add SessionWritePost autocommand (Colin Kennedy) fixes: ##14242 closes: #14288 Co-authored-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Colin Kennedy <colinvfx@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/autocmd.c')
-rw-r--r--src/autocmd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/autocmd.c b/src/autocmd.c
index 8e43b34473..8a7e6072a9 100644
--- a/src/autocmd.c
+++ b/src/autocmd.c
@@ -160,6 +160,7 @@ static struct event_name
{"SafeState", EVENT_SAFESTATE},
{"SafeStateAgain", EVENT_SAFESTATEAGAIN},
{"SessionLoadPost", EVENT_SESSIONLOADPOST},
+ {"SessionWritePost",EVENT_SESSIONWRITEPOST},
{"ShellCmdPost", EVENT_SHELLCMDPOST},
{"ShellFilterPost", EVENT_SHELLFILTERPOST},
{"SigUSR1", EVENT_SIGUSR1},