From 70f6939fd4b5e0f03dc606eedae13ef28fc0f9dd Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Mon, 4 Feb 2019 02:39:05 +0100 Subject: events: add "Signal" event #9564 ..which gets triggered when SIGUSR1 is sent to the nvim process. Closes #9562 --- runtime/doc/autocmd.txt | 6 ++++++ runtime/doc/vim_diff.txt | 1 + 2 files changed, 7 insertions(+) (limited to 'runtime') diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt index d7b74f99c2..6423939b83 100644 --- a/runtime/doc/autocmd.txt +++ b/runtime/doc/autocmd.txt @@ -353,6 +353,8 @@ Name triggered by ~ |CompleteDone| after Insert mode completion is done |User| to be used in combination with ":doautocmd" +|Signal| after the nvim process received a signal + The alphabetical list of autocommand events: *autocmd-events-abc* @@ -914,6 +916,10 @@ ShellCmdPost After executing a shell command with |:!cmd|, any changed files. For non-blocking shell commands, see |job-control|. + *Signal* +Signal After the nvim process received a signal. + The pattern is matched against the name of the + received signal. Only "SIGUSR1" is supported. *ShellFilterPost* ShellFilterPost After executing a shell command with ":{range}!cmd", ":w !cmd" or ":r !cmd". diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt index 36630d14ac..33260ab53b 100644 --- a/runtime/doc/vim_diff.txt +++ b/runtime/doc/vim_diff.txt @@ -142,6 +142,7 @@ Commands: Events: |DirChanged| + |Signal| |TabNewEntered| |TermClose| |TermOpen| -- cgit