mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 10:49:08 +00:00
fix(picker.lsp): remove symbol detail from search text. too noisy
This commit is contained in:
parent
3e1dc300cc
commit
92710dfb0b
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ function M.results_to_items(client, results, opts)
|
|||
local loc = result.location or { range = result.selectionRange or result.range, uri = uri }
|
||||
loc.uri = loc.uri or uri
|
||||
M.add_loc(item, loc, client)
|
||||
local text = table.concat({ M.symbol_kind(result.kind), result.name, result.detail or "" }, " ")
|
||||
local text = table.concat({ M.symbol_kind(result.kind), result.name }, " ")
|
||||
if opts.text_with_file and item.file then
|
||||
text = text .. " " .. item.file
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue