From 9869d5b9fa61e8c6c8d49270c77f3d32020bcbd7 Mon Sep 17 00:00:00 2001 From: gmarik Date: Sat, 19 Mar 2011 16:14:58 -0500 Subject: [PATCH] check for actual helptag files --- autoload/vundle/installer.vim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/autoload/vundle/installer.vim b/autoload/vundle/installer.vim index 651d7b7..fe7ea19 100644 --- a/autoload/vundle/installer.vim +++ b/autoload/vundle/installer.vim @@ -43,8 +43,9 @@ func! s:reload_bundles() endf func! s:has_doc(rtp) - return (isdirectory(a:rtp.'/doc') - \ && (!filereadable(a:rtp.'/doc/tags') || filewritable(a:rtp.'/doc/tags'))) + 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) endf func! s:helptags(rtp)