diff options
author | Aleksa Sarai <cyphar@cyphar.com> | 2016-06-07 03:48:03 +1000 |
---|---|---|
committer | Aleksa Sarai <cyphar@cyphar.com> | 2016-06-07 03:48:03 +1000 |
commit | 2c44d9257287c3e804dcc5a2bfe073c20554c0b9 (patch) | |
tree | 5b1623c1ced01b4d08c3bd1834fcf3a33780130b /test/functional/api/vim_spec.lua | |
parent | 999590b313ef32ca29c4ddba20c5b719730ee7ff (diff) | |
download | rneovim-2c44d9257287c3e804dcc5a2bfe073c20554c0b9.tar.gz rneovim-2c44d9257287c3e804dcc5a2bfe073c20554c0b9.tar.bz2 rneovim-2c44d9257287c3e804dcc5a2bfe073c20554c0b9.zip |
eval: allow setting cwd in {jobstart,termopen}()
Processes in vim are always started in the current directory, which
causes issues when the process is a daemon and the current directory is
a mountpoint. Fix this by adding an option to set the cwd of the new
process with jobstart(). In addition, fix termopen() so that it actually
uses the cwd option from the dict (it couldn't previously set the cwd
value due to dead code).
Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
Diffstat (limited to 'test/functional/api/vim_spec.lua')
0 files changed, 0 insertions, 0 deletions