Resolve symlinks before running helptags
Helptags seems to fail if some of the path components it receives are symlinks. So resolve the symlink when calling helptags.
This commit is contained in:
parent
4b75412462
commit
08e9894d2a
@ -202,7 +202,7 @@ func! s:helptags(rtp) abort
|
||||
let doc_path = a:rtp.'/doc/'
|
||||
call s:log(':helptags '.doc_path)
|
||||
try
|
||||
execute 'helptags ' . doc_path
|
||||
execute 'helptags ' . resolve(doc_path)
|
||||
catch
|
||||
call s:log("> Error running :helptags ".doc_path)
|
||||
return 0
|
||||
|
Loading…
Reference in New Issue
Block a user