From 96546fb69636bd53d8f72d193af709f13af75b68 Mon Sep 17 00:00:00 2001 From: Aleksa Sarai Date: Wed, 25 May 2016 15:20:32 +1000 Subject: 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 --- runtime/autoload/provider/clipboard.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime/autoload/provider/clipboard.vim b/runtime/autoload/provider/clipboard.vim index c7cb14ded7..2272519dfd 100644 --- a/runtime/autoload/provider/clipboard.vim +++ b/runtime/autoload/provider/clipboard.vim @@ -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 -- cgit