Resolve full doc dir path when running helptags

Prevents error 150 when user has doc/* in wildignore

Fixes #112
This commit is contained in:
Jacobo de Vera 2014-04-06 00:08:03 +02:00
parent 8dc18e4a42
commit 6545681f56

View File

@ -207,7 +207,7 @@ endf
func! s:helptags(rtp) abort func! s:helptags(rtp) abort
" it is important to keep trailing slash here " it is important to keep trailing slash here
let doc_path = resolve(a:rtp).'/doc/' let doc_path = resolve(a:rtp . '/doc/')
call s:log(':helptags '.doc_path) call s:log(':helptags '.doc_path)
try try
execute 'helptags ' . doc_path execute 'helptags ' . doc_path