aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/eval.txt
diff options
context:
space:
mode:
authorMatthieu Coudron <mattator@gmail.com>2018-11-09 23:57:00 +0900
committerJames McCoy <jamessan@jamessan.com>2019-12-11 21:07:13 -0500
commit19b6237087ebcf45427ceb6943d23ce33b39567f (patch)
treef333dc24b4d91f691c8ba38f1582ff3d58ce71fd /runtime/doc/eval.txt
parentf3fcaedfad59684e6f57ff0bb131b75a3c7fdcaa (diff)
downloadrneovim-19b6237087ebcf45427ceb6943d23ce33b39567f.tar.gz
rneovim-19b6237087ebcf45427ceb6943d23ce33b39567f.tar.bz2
rneovim-19b6237087ebcf45427ceb6943d23ce33b39567f.zip
jobstart now supports env/clear_env
to modify the environment of the launched job.
Diffstat (limited to 'runtime/doc/eval.txt')
-rw-r--r--runtime/doc/eval.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index ab65cc4560..597175b5e5 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -5451,6 +5451,9 @@ jobstart({cmd}[, {opts}]) *jobstart()*
|on_exit| : exit event handler (function name or |Funcref|)
cwd : Working directory of the job; defaults to
|current-directory|.
+ env : A dict of strings to append (or replace see
+ |clear_env|) to the current environment.
+ clear_env: If set, use the exact values passed in |env|
rpc : If set, |msgpack-rpc| will be used to communicate
with the job over stdin and stdout. "on_stdout" is
then ignored, but "on_stderr" can still be used.