summaryrefslogtreecommitdiff
path: root/src/autocmd.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-06-10 20:56:58 +0200
committerBram Moolenaar <Bram@vim.org>2020-06-10 20:56:58 +0200
commitbe5ee8686a50acf07b823bd293f9c765e533d213 (patch)
treefc5056db66c81eefa83a30afae305b9b027677d8 /src/autocmd.c
parent6ba24d87630b1ec2b8c7ff71550c9e41d143800e (diff)
downloadvim-git-be5ee8686a50acf07b823bd293f9c765e533d213.tar.gz
patch 8.2.0952: no simple way to interrupt Vimv8.2.0952
Problem: No simple way to interrupt Vim. Solution: Add the SigUSR1 autocommand, triggered by SIGUSR1. (Jacob Hayes, closes #1718)
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 937e74187..8e0754b69 100644
--- a/src/autocmd.c
+++ b/src/autocmd.c
@@ -161,6 +161,7 @@ static struct event_name
{"SessionLoadPost", EVENT_SESSIONLOADPOST},
{"ShellCmdPost", EVENT_SHELLCMDPOST},
{"ShellFilterPost", EVENT_SHELLFILTERPOST},
+ {"SigUSR1", EVENT_SIGUSR1},
{"SourceCmd", EVENT_SOURCECMD},
{"SourcePre", EVENT_SOURCEPRE},
{"SourcePost", EVENT_SOURCEPOST},