mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 17:21:49 +00: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:
@@ -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
|
||||
|
Reference in New Issue
Block a user