fix(blink): make sure blink.compat is setup correctly when used in extras

This commit is contained in:
Folke Lemaitre
2024-11-24 22:03:43 +01:00
parent a03f796097
commit 91a3c663a7

View File

@ -21,7 +21,12 @@ return {
dependencies = {
"rafamadriz/friendly-snippets",
-- add blink.compat to dependencies
-- { "saghen/blink.compat", opts = {} },
{
"saghen/blink.compat",
optional = true, -- make optional so it's only enabled if any extras need it
opts = {},
version = not vim.g.lazyvim_blink_main and "*",
},
},
event = "InsertEnter",
@ -39,7 +44,6 @@ return {
nerd_font_variant = "mono",
windows = {
autocomplete = {
-- draw = "reversed",
winblend = vim.o.pumblend,
},
documentation = {