Skip to content

Commit

Permalink
fix: #5
Browse files Browse the repository at this point in the history
  • Loading branch information
yangdongfeng.01 committed Jun 23, 2022
1 parent 9061877 commit f3d1109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/telescope/_extensions/goimpl_builtin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ local function get_workspace_symbols_requester(bufnr, opts)

assert(not err, err)

local locations = symbols_to_items(results_lsp and results_lsp[1] and results_lsp[1].result or {}, bufnr) or {}
local locations = symbols_to_items(results_lsp and results_lsp[2] and results_lsp[2].result or {}, bufnr) or {}
locations = utils.filter_symbols(locations, opts) or {}
return locations
end
Expand Down

0 comments on commit f3d1109

Please sign in to comment.