Skip to content

Commit aec464e

Browse files
committed
Add batchfile title, do not use /wait
Recommended in https://ss64.com/nt/start.html /wait makes vim-plug sync when vim-plug should be async.
1 parent a74f29b commit aec464e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plug.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ if s:is_win
373373
if &shell =~# 'powershell\.exe'
374374
let cmd = '& ' . cmd
375375
elseif !has('nvim') && !has('gui_running') && &shell =~# 'cmd\.exe'
376-
let cmd = 'start /wait /min ' . cmd
376+
let cmd = 'start ' . plug#shellescape('fzf', {'script': 0}) . ' /min ' . cmd
377377
endif
378378
return [batchfile, cmd]
379379
endfunction

0 commit comments

Comments
 (0)