[Helptags] Remove duplicate tags

This commit is contained in:
Junegunn Choi
2015-09-16 23:38:42 +09:00
parent c9c49f6722
commit 561cb901d1

View File

@@ -564,7 +564,7 @@ function! s:helptag_sink(line)
endfunction
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({
\ 'source': "grep -H '.*' ".join(map(tags, 'shellescape(v:val)')).