mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-03-10 17:28:56 +00:00
fix(blink): compat with 0.7.6
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user