fixes helptags and wildigore issue #390
- resolve introduced in 08e9894d2
resolves only bundle dir
- so '/doc/' dir doesn't loose its trailing slash
This commit is contained in:
parent
215dd5f842
commit
ec9625c628
@ -199,10 +199,11 @@ func! s:has_doc(rtp) abort
|
|||||||
endf
|
endf
|
||||||
|
|
||||||
func! s:helptags(rtp) abort
|
func! s:helptags(rtp) abort
|
||||||
let doc_path = a:rtp.'/doc/'
|
" it is important to keep trailing slash here
|
||||||
|
let doc_path = resolve(a:rtp).'/doc/'
|
||||||
call s:log(':helptags '.doc_path)
|
call s:log(':helptags '.doc_path)
|
||||||
try
|
try
|
||||||
execute 'helptags ' . resolve(doc_path)
|
execute 'helptags ' . doc_path
|
||||||
catch
|
catch
|
||||||
call s:log("> Error running :helptags ".doc_path)
|
call s:log("> Error running :helptags ".doc_path)
|
||||||
return 0
|
return 0
|
||||||
|
Loading…
Reference in New Issue
Block a user