mirror of
https://github.com/junegunn/fzf.vim.git
synced 2025-12-08 13:34:47 +08:00
[Helptags] Remove duplicate tags
This commit is contained in:
@@ -564,7 +564,7 @@ function! s:helptag_sink(line)
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! fzf#vim#helptags(...)
|
function! fzf#vim#helptags(...)
|
||||||
let tags = split(globpath(&runtimepath, '**/doc/tags'), '\n')
|
let tags = uniq(sort(split(globpath(&runtimepath, '**/doc/tags'), '\n')))
|
||||||
|
|
||||||
call s:fzf({
|
call s:fzf({
|
||||||
\ '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