mirror of
https://github.com/junegunn/fzf.vim.git
synced 2025-12-06 20:54:28 +08:00
[Helptags] Ignore wildignore setting (#567)
If `tags` is set in the `wildignore` option, `:Helptags` command would always return an empty list.
This commit is contained in:
committed by
Junegunn Choi
parent
c0a5fee707
commit
17d24ae31d
@@ -976,7 +976,7 @@ function! fzf#vim#helptags(...)
|
||||
if !executable('grep') || !executable('perl')
|
||||
return s:warn('Helptags command requires grep and perl')
|
||||
endif
|
||||
let sorted = sort(split(globpath(&runtimepath, 'doc/tags'), '\n'))
|
||||
let sorted = sort(split(globpath(&runtimepath, 'doc/tags', 1), '\n'))
|
||||
let tags = exists('*uniq') ? uniq(sorted) : fzf#vim#_uniq(sorted)
|
||||
|
||||
if exists('s:helptags_script')
|
||||
|
||||
Reference in New Issue
Block a user