We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c2cb2e commit f99bf6bCopy full SHA for f99bf6b
lua/blink/cmp/sources/snippets/utils.lua
@@ -22,6 +22,11 @@ function utils.read_snippet(snippet, fallback)
22
local prefix = snippet.prefix or fallback
23
local description = snippet.description or fallback
24
local body = snippet.body
25
+
26
+ if type(description) == "table" then
27
+ description = vim.fn.join(description)
28
+ end
29
30
if type(prefix) == 'table' then
31
for _, p in ipairs(prefix) do
32
snippets[p] = {
0 commit comments