Explorar o código

Fix local plugin judgement on Windows (#205)

Junegunn Choi %!s(int64=10) %!d(string=hai) anos
pai
achega
6a7efea26b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)