diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2016-01-04 17:15:25 +0100 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2016-01-20 11:09:25 +0100 |
commit | d0d5d17b69b635096bc4c0f88c4a9b10af04cf01 (patch) | |
tree | 555e96fd7a50e223e35d41492a785e4ba39ad350 /runtime | |
parent | ee0e214427d7ed2a9fd8ffc85c424cfffc927408 (diff) | |
download | rneovim-d0d5d17b69b635096bc4c0f88c4a9b10af04cf01.tar.gz rneovim-d0d5d17b69b635096bc4c0f88c4a9b10af04cf01.tar.bz2 rneovim-d0d5d17b69b635096bc4c0f88c4a9b10af04cf01.zip |
job control: add 'detach' option to jobstart
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/eval.txt | 4 |
1 files changed, 4 insertions, 0 deletions
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 |