From 9abd50facdf4318e15454e271b87c12ddedd21d6 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sat, 14 Mar 2015 14:31:50 +0900 Subject: [PATCH] Change the default number of threads on Windows to 1 (#191) --- plug.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plug.vim b/plug.vim index a452cba..e625951 100644 --- a/plug.vim +++ b/plug.vim @@ -710,7 +710,7 @@ endfunction function! s:update_impl(pull, force, args) abort let args = copy(a:args) let threads = (len(args) > 0 && args[-1] =~ '^[1-9][0-9]*$') ? - \ remove(args, -1) : get(g:, 'plug_threads', 16) + \ remove(args, -1) : get(g:, 'plug_threads', s:is_win ? 1 : 16) let managed = filter(copy(g:plugs), 's:is_managed(v:key)') let todo = empty(args) ? filter(managed, '!v:val.frozen || !isdirectory(v:val.dir)') :