This commit is contained in:
Iordanis Petkakis 2026-06-22 16:11:31 +00:00 committed by GitHub
commit 1ed2ef296f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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
{