fix(blink): added work-around back for unsupported native snippets

This commit is contained in:
Folke Lemaitre
2025-10-20 14:34:00 +02:00
parent 3ffb471c18
commit 899533a101

View File

@@ -106,6 +106,9 @@ return {
},
---@param opts blink.cmp.Config | { sources: { compat: string[] } }
config = function(_, opts)
if opts.snippets and opts.snippets.preset == "default" then
opts.snippets.expand = LazyVim.cmp.expand
end
-- setup compat sources
local enabled = opts.sources.default
for _, source in ipairs(opts.sources.compat or {}) do