mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
runtime: clipboard: start daemons in /
This avoids the issue of nvim started daemons causing mountpoints to be unmountable. This is currently the only place in runtime/ where this calling convention occurred. Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
This commit is contained in:
parent
bc99b4c483
commit
96546fb696
@ -94,6 +94,7 @@ function! s:clipboard.set(lines, regtype, reg)
|
||||
let selection.data = [a:lines, a:regtype]
|
||||
let argv = split(s:copy[a:reg], " ")
|
||||
let selection.detach = s:cache_enabled
|
||||
let selection.cwd = "/"
|
||||
let jobid = jobstart(argv, selection)
|
||||
if jobid <= 0
|
||||
echohl WarningMsg
|
||||
|
Loading…
Reference in New Issue
Block a user