Sfoglia il codice sorgente

Fix local plugin judgement on Windows (#205)

Junegunn Choi 10 anni fa
parent
commit
6a7efea26b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      plug.vim

+ 1 - 1
plug.vim

@@ -270,7 +270,7 @@ if s:is_win
   endfunction
 
   function! s:is_local_plug(repo)
-    return a:repo =~? '^[a-z]:'
+    return a:repo =~? '^[a-z]:\|^[%~]'
   endfunction
 else
   function! s:rtp(spec)