소스 검색

Fix local plugin judgement on Windows (#205)

Junegunn Choi 10 년 전
부모
커밋
6a7efea26b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)