do not break on helptag generation errors

- just show the message
- closes #46
This commit is contained in:
gmarik 2011-05-28 02:55:49 -05:00
parent a17a896ab3
commit 06088de231

View File

@ -58,7 +58,11 @@ func! s:has_doc(rtp) abort
endf
func! s:helptags(rtp) abort
helptags `=a:rtp.'/doc/'`
try
helptags `=a:rtp.'/doc/'`
catch
echohl Error | echo "Error generating helptags in ".a:rtp | echohl None
endtry
endf
func! s:sync(bang, bundle) abort