Jelajahi Sumber

Fix local plugin judgement on Windows (#205)

Junegunn Choi 10 tahun lalu
induk
melakukan
6a7efea26b
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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)