diff --git a/lua/telescope/builtin/__lsp.lua b/lua/telescope/builtin/__lsp.lua index d51bb6c4df..6a241d9be5 100644 --- a/lua/telescope/builtin/__lsp.lua +++ b/lua/telescope/builtin/__lsp.lua @@ -472,6 +472,16 @@ local function get_workspace_symbols_requester(bufnr, opts) else vim.list_extend(locations, vim.lsp.util.symbols_to_items(client_res.result, bufnr)) end + + local result = {} + for i = 1, #locations do + table.insert( + result, + vim.tbl_extend("force", locations[i], { container_name = client_res.result[i].containerName }) + ) + end + + locations = result end end