mirror of
https://github.com/junegunn/fzf.vim.git
synced 2025-12-06 12:44:24 +08:00
@@ -812,7 +812,8 @@ function! s:helptag_sink(line)
|
||||
endfunction
|
||||
|
||||
function! fzf#vim#helptags(...)
|
||||
let tags = uniq(sort(split(globpath(&runtimepath, '**/doc/tags'), '\n')))
|
||||
let sorted = sort(split(globpath(&runtimepath, '**/doc/tags'), '\n'))
|
||||
let tags = exists('*uniq') ? uniq(sorted) : s:uniq(sorted)
|
||||
|
||||
return s:fzf('helptags', {
|
||||
\ 'source': "grep -H '.*' ".join(map(tags, 'shellescape(v:val)')).
|
||||
|
||||
Reference in New Issue
Block a user