[Helptags] Fix globpath pattern

Close #376
This commit is contained in:
Junegunn Choi 2017-05-22 01:29:48 +09:00
parent 536b6ace35
commit 990834ab6c
No known key found for this signature in database
GPG key ID: 254BC280FEF9C627

View file

@ -921,7 +921,7 @@ function! s:helptag_sink(line)
endfunction
function! fzf#vim#helptags(...)
let sorted = sort(split(globpath(&runtimepath, '**/doc/tags'), '\n'))
let sorted = sort(split(globpath(&runtimepath, 'doc/tags'), '\n'))
let tags = exists('*uniq') ? uniq(sorted) : fzf#vim#_uniq(sorted)
return s:fzf('helptags', {