fix(copilot): don't enable blink when using copilot when blink is not installed. Fixes #4795

This commit is contained in:
Folke Lemaitre 2024-11-15 06:25:26 +01:00
parent ad3e2b6354
commit 07a046867d
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -79,6 +79,7 @@ return {
specs = {
{
"nvim-cmp",
optional = true,
---@param opts cmp.ConfigSchema
opts = function(_, opts)
table.insert(opts.sources, 1, {
@ -104,6 +105,7 @@ return {
specs = {
{
"blink.cmp",
optional = true,
opts = {
sources = {
providers = {