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:
gmarik 2014-02-21 20:53:31 -06:00
parent 215dd5f842
commit ec9625c628

View File

@ -199,10 +199,11 @@ func! s:has_doc(rtp) abort
endf
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)
try
execute 'helptags ' . resolve(doc_path)
execute 'helptags ' . doc_path
catch
call s:log("> Error running :helptags ".doc_path)
return 0