Browse Source

check for actual helptag files

pull/10/head
gmarik 15 years ago
parent
commit
9869d5b9fa
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      autoload/vundle/installer.vim

+ 3
- 2
autoload/vundle/installer.vim View File

@ -43,8 +43,9 @@ func! s:reload_bundles()
endf endf
func! s:has_doc(rtp) 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 endf
func! s:helptags(rtp) func! s:helptags(rtp)


Loading…
Cancel
Save