Resolve full doc dir path when running helptags
Prevents error 150 when user has doc/* in wildignore Fixes #112
This commit is contained in:
parent
8dc18e4a42
commit
6545681f56
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user