Expand argument to plug#begin (#82)

This commit is contained in:
Junegunn Choi committed 2014-09-17 19:41:00 +09:00
1 parent a9fa8f44e5
commit a64b156682
2 files changed
+6 -1

No files matched your search

+1 -1
View File
@@ -84,7 +84,7 @@ let s:loaded = get(s:, 'loaded', {})
function! plug#begin(...)
if a:0 > 0
let home = s:path(fnamemodify(a:1, ':p'))
let home = s:path(fnamemodify(expand(a:1), ':p'))
elseif exists('g:plug_home')
let home = s:path(g:plug_home)
elseif !empty(&rtp)