From 1a1d794f48b169ef87a72d6125d493ce484ae520 Mon Sep 17 00:00:00 2001 From: bhagwan Date: Sat, 11 Jun 2022 00:04:55 -0700 Subject: [PATCH] fix(quickfix): send to quickfix action when using 'path_shorten' --- lua/fzf-lua/actions.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/fzf-lua/actions.lua b/lua/fzf-lua/actions.lua index 569bdd8..962e433 100644 --- a/lua/fzf-lua/actions.lua +++ b/lua/fzf-lua/actions.lua @@ -154,10 +154,10 @@ M.file_open_in_background = function(selected, opts) M.vimcmd_file(vimcmd, selected, opts) end -M.file_sel_to_qf = function(selected, _) +M.file_sel_to_qf = function(selected, opts) local qf_list = {} for i = 1, #selected do - local file = path.entry_to_file(selected[i]) + local file = path.entry_to_file(selected[i], opts) local text = selected[i]:match(":%d+:%d?%d?%d?%d?:?(.*)$") table.insert(qf_list, { filename = file.path,