Fix local plugin judgement on Windows (#205)
This commit is contained in:
parent
0e3e1cab75
commit
6a7efea26b
1 changed files with 1 additions and 1 deletions
2
plug.vim
2
plug.vim
|
@ -270,7 +270,7 @@ if s:is_win
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:is_local_plug(repo)
|
function! s:is_local_plug(repo)
|
||||||
return a:repo =~? '^[a-z]:'
|
return a:repo =~? '^[a-z]:\|^[%~]'
|
||||||
endfunction
|
endfunction
|
||||||
else
|
else
|
||||||
function! s:rtp(spec)
|
function! s:rtp(spec)
|
||||||
|
|
Loading…
Reference in a new issue