Skip to content

Commit

Permalink
fix(lsp_symbols): send to quickfix context (#1184)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibhagwan committed May 11, 2024
1 parent 0a36172 commit 6ccbe4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/fzf-lua/actions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ local sel_to_qf = function(selected, opts, is_loclist)
local qf_list = {}
for i = 1, #selected do
local file = path.entry_to_file(selected[i], opts)
local text = selected[i]:match(":%d+:%d?%d?%d?%d?:?(.*)$")
local text = file.stripped:match(":%d+:%d?%d?%d?%d?:?(.*)$")
table.insert(qf_list, {
filename = file.bufname or file.path or file.uri,
lnum = file.line,
Expand Down

0 comments on commit 6ccbe4c

Please sign in to comment.