mirror of
https://github.com/junegunn/fzf.vim.git
synced 2026-10-13 00:20:14 +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:
1 file changed
+3
@@ -1764,6 +1764,9 @@ function! s:tags_sink(from, lines)
|
|||||||
else
|
else
|
||||||
call s:open(expand(abspath, 1))
|
call s:open(expand(abspath, 1))
|
||||||
endif
|
endif
|
||||||
|
if empty(excmd)
|
||||||
|
continue
|
||||||
|
endif
|
||||||
call s:execute_tag_address(excmd)
|
call s:execute_tag_address(excmd)
|
||||||
call add(qfl, {'filename': expand('%'), 'lnum': line('.'), 'text': getline('.')})
|
call add(qfl, {'filename': expand('%'), 'lnum': line('.'), 'text': getline('.')})
|
||||||
if empty(tagname)
|
if empty(tagname)
|
||||||
|
|||||||
Reference in new issue
Block a user