We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ad59aa commit a6cf72aCopy full SHA for a6cf72a
lua/blink/cmp/sources/snippets/init.lua
@@ -48,7 +48,7 @@ function snippets:resolve(item, callback)
48
local snippet = parsed_snippet and tostring(parsed_snippet) or item.insertText
49
50
-- TODO: ideally context is passed with the filetype
51
- local documentation = '```' .. vim.bo.filetype .. '\n' .. snippet .. '```' .. '\n---\n' .. item.description
+ local documentation = '```' .. vim.bo.filetype .. '\n' .. snippet .. '\n```' .. '\n---\n' .. item.description
52
53
local resolved_item = vim.deepcopy(item)
54
resolved_item.documentation = {
0 commit comments