aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorMarco Hinz <mh.codebro+github@gmail.com>2019-02-04 02:39:05 +0100
committerJustin M. Keyes <justinkz@gmail.com>2019-02-04 02:39:05 +0100
commit70f6939fd4b5e0f03dc606eedae13ef28fc0f9dd (patch)
treec6eccfc3e39c9ae88e6b7eb01e367d80a356556a /runtime
parentda88278f2786d85565e6e2a163709266e4c46232 (diff)
downloadrneovim-70f6939fd4b5e0f03dc606eedae13ef28fc0f9dd.tar.gz
rneovim-70f6939fd4b5e0f03dc606eedae13ef28fc0f9dd.tar.bz2
rneovim-70f6939fd4b5e0f03dc606eedae13ef28fc0f9dd.zip
events: add "Signal" event #9564
..which gets triggered when SIGUSR1 is sent to the nvim process. Closes #9562
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/autocmd.txt6
-rw-r--r--runtime/doc/vim_diff.txt1
2 files changed, 7 insertions, 0 deletions
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|