mirror of
https://github.com/junegunn/fzf.vim.git
synced 2026-02-04 17:12:54 +08:00
[Tags] Return if failed to create tags
This commit is contained in:
@@ -522,6 +522,9 @@ function! fzf#vim#tags(...)
|
|||||||
if empty(tagfiles())
|
if empty(tagfiles())
|
||||||
call s:warn('Preparing tags')
|
call s:warn('Preparing tags')
|
||||||
call system('ctags -R')
|
call system('ctags -R')
|
||||||
|
if empty(tagfiles())
|
||||||
|
return s:warn('Failed to create tags')
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let tagfile = tagfiles()[0]
|
let tagfile = tagfiles()[0]
|
||||||
|
|||||||
Reference in New Issue
Block a user