From 95b63ef7319744ce898538313b2f2de077cffe82 Mon Sep 17 00:00:00 2001 From: bhagwan Date: Sat, 15 Jan 2022 21:26:16 -0800 Subject: [PATCH] 'jump_to_single_result_action' removed extra item in array --- lua/fzf-lua/providers/lsp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/fzf-lua/providers/lsp.lua b/lua/fzf-lua/providers/lsp.lua index d763b20..5c3f934 100644 --- a/lua/fzf-lua/providers/lsp.lua +++ b/lua/fzf-lua/providers/lsp.lua @@ -22,7 +22,7 @@ local jump_to_location = function(opts, result, enc) local action = opts.jump_to_single_result_action if action then local entry = location_to_entry(result, enc) - return opts.jump_to_single_result_action({ 'jump_to_single_result', entry }, opts) + return opts.jump_to_single_result_action({ entry }, opts) end return vim.lsp.util.jump_to_location(result, enc)