mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-23 21:11:05 +00:00
Merge 94c855bae0 into 459a4c3b10
This commit is contained in:
commit
1ed2ef296f
1 changed files with 6 additions and 1 deletions
|
|
@ -15,13 +15,18 @@ return {
|
||||||
{
|
{
|
||||||
"saghen/blink.cmp",
|
"saghen/blink.cmp",
|
||||||
version = not vim.g.lazyvim_blink_main and "*",
|
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 = {
|
opts_extend = {
|
||||||
"sources.completion.enabled_providers",
|
"sources.completion.enabled_providers",
|
||||||
"sources.compat",
|
"sources.compat",
|
||||||
"sources.default",
|
"sources.default",
|
||||||
},
|
},
|
||||||
dependencies = {
|
dependencies = {
|
||||||
|
vim.g.lazyvim_blink_main and { "saghen/blink.lib" } or {},
|
||||||
"rafamadriz/friendly-snippets",
|
"rafamadriz/friendly-snippets",
|
||||||
-- add blink.compat to dependencies
|
-- add blink.compat to dependencies
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue