From f9c9ae17683ce7855a48ebfa071a685ee157150f Mon Sep 17 00:00:00 2001 From: bhagwan Date: Sun, 16 Jan 2022 15:25:43 -0800 Subject: [PATCH] bugfix: consecutive send-selection-to-quickfix --- lua/fzf-lua/actions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/fzf-lua/actions.lua b/lua/fzf-lua/actions.lua index f7fd77c..cf5a1ac 100644 --- a/lua/fzf-lua/actions.lua +++ b/lua/fzf-lua/actions.lua @@ -153,7 +153,7 @@ M.file_sel_to_qf = function(selected, _) local qf_list = {} for i = 1, #selected do local file = path.entry_to_file(selected[i]) - local text = selected[i]:match(":%d+:(.*)$") + local text = selected[i]:match(":%d+:%d?%d?%d?%d?:?(.*)$") table.insert(qf_list, { filename = file.path, lnum = file.line,