Skip to content

Commit

Permalink
Merge pull request #30 from benfowler/reinvestigateQuickFixBreakage
Browse files Browse the repository at this point in the history
FIX: error when hitting <c-q> to send content to quickfix windows in Telescope picker
  • Loading branch information
benfowler authored Dec 14, 2024
2 parents 33211da + 5715867 commit 127dac8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lua/telescope/_extensions/luasnip.lua
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,9 @@ M.luasnip_fn = function(opts)
or default_search_text
return {
value = entry,
filename = entry.context.trigger,
display = make_display,
text = string.format(" %s | %s | %s", entry.ft, entry.context.name, entry.context.description[1] or ''),
ordinal = search_fn(entry),
preview_command = function(_, bufnr)
local snippet = get_docstring(luasnip, entry.ft, entry.context)
Expand Down

0 comments on commit 127dac8

Please sign in to comment.