Skip to content

Commit

Permalink
fix(mini.snippets): expand function should have body=snippet (#951)
Browse files Browse the repository at this point in the history
Co-authored-by: abeldekat <[email protected]>
  • Loading branch information
abeldekat and abeldekat authored Jan 8, 2025
1 parent b8dbec6 commit a993bd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/blink/cmp/config/snippets.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ local snippets = {
mini_snippets = function(snippet)
if not _G.MiniSnippets then error('mini.snippets has not been setup') end
local insert = MiniSnippets.config.expand.insert or MiniSnippets.default_insert
insert(snippet)
insert({ body = snippet })
end,
}),
active = by_preset({
Expand Down

0 comments on commit a993bd8

Please sign in to comment.