mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-21 16:39:06 +02:00
fix(blink): compat with 0.7.6
This commit is contained in:
parent
08a7f7e3f9
commit
63eab6d9a5
1 changed files with 4 additions and 1 deletions
|
@ -99,10 +99,13 @@ return {
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- TODO: remove when blink made a new release > 0.7.6
|
--- NOTE: compat with latest version. Currenlty 0.7.6
|
||||||
if not vim.g.lazyvim_blink_main then
|
if not vim.g.lazyvim_blink_main then
|
||||||
opts.sources.completion = opts.sources.completion or {}
|
opts.sources.completion = opts.sources.completion or {}
|
||||||
opts.sources.completion.enabled_providers = enabled
|
opts.sources.completion.enabled_providers = enabled
|
||||||
|
if vim.tbl_get(opts, "completion", "menu", "draw", "treesitter") then
|
||||||
|
opts.completion.menu.draw.treesitter = true
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Unset custom prop to pass blink.cmp validation
|
-- Unset custom prop to pass blink.cmp validation
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue