From a5717367fc1f9ea2ac2c4fe0206d5a817817695c Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sun, 27 Sep 2026 21:24:52 +0900 Subject: [PATCH] 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. --- autoload/fzf/vim.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/autoload/fzf/vim.vim b/autoload/fzf/vim.vim index fbb5b32..1339c94 100755 --- a/autoload/fzf/vim.vim +++ b/autoload/fzf/vim.vim @@ -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)