mirror of
https://github.com/junegunn/fzf.vim.git
synced 2026-09-28 22:52:22 +08:00
Do not add a quickfix item for a refused tag address
The cursor has not moved, so the item repeated the previous entry's line and text. :BTags already skips such an entry.
This commit is contained in:
@@ -1764,6 +1764,9 @@ function! s:tags_sink(from, lines)
|
||||
else
|
||||
call s:open(expand(abspath, 1))
|
||||
endif
|
||||
if empty(excmd)
|
||||
continue
|
||||
endif
|
||||
call s:execute_tag_address(excmd)
|
||||
call add(qfl, {'filename': expand('%'), 'lnum': line('.'), 'text': getline('.')})
|
||||
if empty(tagname)
|
||||
|
||||
Reference in New Issue
Block a user