fix(blink): change build for V2 main

This commit is contained in:
Iordanis Petkakis 2026-04-26 01:09:43 +03:00
parent cdc47ae615
commit 94c855bae0

View file

@ -15,13 +15,18 @@ return {
{
"saghen/blink.cmp",
version = not vim.g.lazyvim_blink_main and "*",
build = vim.g.lazyvim_blink_main and "cargo build --release",
build = vim.g.lazyvim_blink_main and function()
-- build the fuzzy matcher, optionally add a timeout to `pwait(timeout_ms)`
-- you can use `gb` in `:Lazy` to rebuild the plugin as needed
require("blink.cmp").build():pwait()
end,
opts_extend = {
"sources.completion.enabled_providers",
"sources.compat",
"sources.default",
},
dependencies = {
vim.g.lazyvim_blink_main and { "saghen/blink.lib" } or {},
"rafamadriz/friendly-snippets",
-- add blink.compat to dependencies
{