upgrade plug

Fri, 24 May 2019 00:36:01 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 24 May 2019 00:36:01 -0500
changeset 763
6453c82d64e2
parent 762
ef7d6daaa1c9
child 764
d292b9aa1e89

upgrade plug

.vim/autoload/plug.vim file | annotate | diff | comparison | revisions
--- a/.vim/autoload/plug.vim
+++ b/.vim/autoload/plug.vim
@@ -2224,7 +2224,7 @@ function! s:upgrade()
   let new = tmp . '/plug.vim'
 
   try
-    let out = s:system(printf('git clone --depth 1 %s %s', s:plug_src, tmp))
+    let out = s:system(printf('git clone --depth 1 %s %s', s:shellesc(s:plug_src), s:shellesc(tmp)))
     if v:shell_error
       return s:err('Error upgrading vim-plug: '. out)
     endif

mercurial