Skip to content

Commit 127dac8

Browse files
authored
Merge pull request #30 from benfowler/reinvestigateQuickFixBreakage
FIX: error when hitting <c-q> to send content to quickfix windows in Telescope picker
2 parents 33211da + 5715867 commit 127dac8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lua/telescope/_extensions/luasnip.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,9 @@ M.luasnip_fn = function(opts)
127127
or default_search_text
128128
return {
129129
value = entry,
130+
filename = entry.context.trigger,
130131
display = make_display,
132+
text = string.format(" %s | %s | %s", entry.ft, entry.context.name, entry.context.description[1] or ''),
131133
ordinal = search_fn(entry),
132134
preview_command = function(_, bufnr)
133135
local snippet = get_docstring(luasnip, entry.ft, entry.context)

0 commit comments

Comments
 (0)