Skip to content

Commit 28f3a31

Browse files
committed
fix: use empty separator for joining snippet description
1 parent f99bf6b commit 28f3a31

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lua/blink/cmp/sources/snippets/utils.lua

+1-3
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ function utils.read_snippet(snippet, fallback)
2323
local description = snippet.description or fallback
2424
local body = snippet.body
2525

26-
if type(description) == "table" then
27-
description = vim.fn.join(description)
28-
end
26+
if type(description) == 'table' then description = vim.fn.join(description, '') end
2927

3028
if type(prefix) == 'table' then
3129
for _, p in ipairs(prefix) do

0 commit comments

Comments
 (0)