Skip to content

Commit 06b3c64

Browse files
committed
CHORE: fix Stylua errors
1 parent 91cad50 commit 06b3c64

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lua/telescope/_extensions/luasnip.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,14 +122,15 @@ M.luasnip_fn = function(opts)
122122
finder = finders.new_table({
123123
results = objs,
124124
entry_maker = function(entry)
125-
search_fn = ext_conf._config.luasnip
125+
local search_fn = ext_conf._config.luasnip
126126
and ext_conf._config.luasnip.search
127127
or default_search_text
128128
return {
129129
value = entry,
130130
filename = entry.context.trigger,
131131
display = make_display,
132-
text = string.format(" %s | %s | %s", entry.ft, entry.context.name, entry.context.description[1] or ''),
132+
text = string.format(" %s | %s | %s", entry.ft, entry.context.name,
133+
entry.context.description[1] or ''),
133134
ordinal = search_fn(entry),
134135
preview_command = function(_, bufnr)
135136
local snippet = get_docstring(luasnip, entry.ft, entry.context)

0 commit comments

Comments
 (0)