summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/telescope/make_entry.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/telescope/make_entry.lua b/lua/telescope/make_entry.lua
index 498db9c..7892e05 100644
--- a/lua/telescope/make_entry.lua
+++ b/lua/telescope/make_entry.lua
@@ -382,7 +382,7 @@ function make_entry.gen_from_lsp_symbols(opts)
return function(entry)
local filename = entry.filename or vim.api.nvim_buf_get_name(entry.bufnr)
- local symbol_msg = entry.text:gsub(".* | ", "")
+ local symbol_msg = entry.text
local symbol_type, symbol_name = symbol_msg:match "%[(.+)%]%s+(.*)"
local ordinal = ""