From d0d5d17b69b635096bc4c0f88c4a9b10af04cf01 Mon Sep 17 00:00:00 2001 From: Björn Linse Date: Mon, 4 Jan 2016 17:15:25 +0100 Subject: job control: add 'detach' option to jobstart --- runtime/doc/eval.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'runtime/doc/eval.txt') diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 1f1dc71f28..9207f1a85c 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -4194,6 +4194,10 @@ jobstart({cmd}[, {opts}]) {Nvim} *jobstart()* - width: Width of the terminal screen(only if pty is set) - height: Height of the terminal screen(only if pty is set) - TERM: $TERM environment variable(only if pty is set) + - detach: Detach the job process from the nvim process. The + process won't get killed when nvim exists. If the process + dies before nvim exits, on_exit will still be invoked. + This option is only allowed for non-pty jobs. Either funcrefs or function names can be passed as event handlers. The {opts} object is also used as the "self" argument for the callback, so the caller may pass arbitrary -- cgit