From 617ccb62ec29e1e4ec12949d727190497815e8cc Mon Sep 17 00:00:00 2001 From: gmarik Date: Sat, 19 Mar 2011 16:59:50 -0500 Subject: [PATCH] glob instead expand --- autoload/vundle/installer.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/vundle/installer.vim b/autoload/vundle/installer.vim index 052ffff..49a338b 100644 --- a/autoload/vundle/installer.vim +++ b/autoload/vundle/installer.vim @@ -45,7 +45,7 @@ endf func! s:has_doc(rtp) return isdirectory(a:rtp.'/doc') \ && (!filereadable(a:rtp.'/doc/tags') || filewritable(a:rtp.'/doc/tags')) - \ && (len(expand(a:rtp.'/doc/*.txt')) > 0 || len(expand(a:rtp.'/doc/*.??x')) > 0) + \ && (len(glob(a:rtp.'/doc/*.txt')) > 0 || len(glob(a:rtp.'/doc/*.??x')) > 0) endf func! s:helptags(rtp)