[Tags] Add g:fzf_tags_command

Close #138
This commit is contained in:
Junegunn Choi
2016-05-12 01:42:24 +09:00
parent 94bdefe123
commit 47806da408
3 changed files with 9 additions and 3 deletions

View File

@@ -632,7 +632,7 @@ function! fzf#vim#tags(query, ...)
redraw
if gen =~ '^y'
call s:warn('Preparing tags')
call system('ctags -R')
call system(get(g:, 'fzf_tags_command', 'ctags -R'))
if empty(tagfiles())
return s:warn('Failed to create tags')
endif