mirror of
https://github.com/junegunn/fzf.vim.git
synced 2025-12-07 05:04:30 +08:00
@@ -812,7 +812,8 @@ function! s:helptag_sink(line)
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! fzf#vim#helptags(...)
|
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', {
|
return s:fzf('helptags', {
|
||||||
\ 'source': "grep -H '.*' ".join(map(tags, 'shellescape(v:val)')).
|
\ 'source': "grep -H '.*' ".join(map(tags, 'shellescape(v:val)')).
|
||||||
|
|||||||
Reference in New Issue
Block a user