mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-12-25 12:14:19 +01:00
fix(blink): added work-around back for unsupported native snippets
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user