mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-21 16:39:06 +02:00
fix(blink): add backward compat for config
This commit is contained in:
parent
4488cb24f7
commit
1517ec9bb4
1 changed files with 6 additions and 0 deletions
|
@ -99,6 +99,12 @@ return {
|
|||
end
|
||||
end
|
||||
|
||||
-- TODO: remove when blink made a new release > 0.7.6
|
||||
if not vim.g.lazyvim_blink_main then
|
||||
opts.sources.completion = opts.sources.completion or {}
|
||||
opts.sources.completion.enabled_providers = enabled
|
||||
end
|
||||
|
||||
-- Unset custom prop to pass blink.cmp validation
|
||||
opts.sources.compat = nil
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue