From 3e34f1dc6d81d3bc49752cc3f9d3151c8a1d9191 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Mon, 28 Sep 2026 05:01:19 +0900 Subject: [PATCH] Name a too-short Tags entry the way BTags does s:strip(parts[0]) on an empty line raises E684, which the loop then reports in place of the message. --- autoload/fzf/vim.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fzf/vim.vim b/autoload/fzf/vim.vim index de0c1b8..ed49334 100755 --- a/autoload/fzf/vim.vim +++ b/autoload/fzf/vim.vim @@ -1798,7 +1798,7 @@ function! s:tags_sink(from, lines) let parts = split(line, '\t\zs') let excmd = s:tag_address(join(parts[2:-2], '')[:-2], 1) if empty(excmd) - throw 'Unsupported tag address: '.s:strip(parts[0]) + throw 'Unsupported tag address: '.s:strip(get(parts, 0, line)) endif let base = fnamemodify(parts[-1], ':h') let relpath = parts[1][:-2]