mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-22 04:21:08 +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",
|
||||
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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue