do not break on helptag generation errors
- just show the message - closes #46
This commit is contained in:
@@ -58,7 +58,11 @@ func! s:has_doc(rtp) abort
|
|||||||
endf
|
endf
|
||||||
|
|
||||||
func! s:helptags(rtp) abort
|
func! s:helptags(rtp) abort
|
||||||
|
try
|
||||||
helptags `=a:rtp.'/doc/'`
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user