do not break on helptag generation errors
- just show the message - closes #46
This commit is contained in:
parent
a17a896ab3
commit
06088de231
@ -58,7 +58,11 @@ func! s:has_doc(rtp) abort
|
|||||||
endf
|
endf
|
||||||
|
|
||||||
func! s:helptags(rtp) abort
|
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
|
endf
|
||||||
|
|
||||||
func! s:sync(bang, bundle) abort
|
func! s:sync(bang, bundle) abort
|
||||||
|
Loading…
Reference in New Issue
Block a user