|
|
@ -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) |
|
|
|