bs blink/cmp
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
local use_google = require("utils").use_google
|
||||
local flags = require("utils").flags
|
||||
|
||||
local kind_icons = {
|
||||
-- LLM Provider icons
|
||||
claude = "",
|
||||
@ -17,6 +18,7 @@ local kind_icons = {
|
||||
return {
|
||||
{
|
||||
"milanglacier/minuet-ai.nvim",
|
||||
cond = not use_google(),
|
||||
config = function()
|
||||
require("minuet").setup({
|
||||
provider = "gemini",
|
||||
@ -66,8 +68,8 @@ return {
|
||||
version = "*",
|
||||
-- lazy.nvim will automatically load the plugin when it's required by blink.cmp
|
||||
lazy = true,
|
||||
cond = flags.blink,
|
||||
-- make sure to set opts so that lazy.nvim calls blink.compat's setup
|
||||
cond = flags.blink,
|
||||
opts = {
|
||||
impersonate_nvim_cmp = true,
|
||||
debug = true,
|
||||
@ -88,6 +90,7 @@ return {
|
||||
version = "v0.*", -- use a release tag to download pre-built binaries
|
||||
-- build = 'cargo build --release',
|
||||
|
||||
|
||||
---@module 'blink.cmp'
|
||||
---@type blink.cmp.Config
|
||||
opts = {
|
||||
@ -125,7 +128,6 @@ return {
|
||||
}
|
||||
if use_google() then
|
||||
table.insert(providerToEnable, "nvim_ciderlsp")
|
||||
table.insert(providerToEnable, "buganizer")
|
||||
else
|
||||
table.insert(providerToEnable, "minuet")
|
||||
end
|
||||
@ -178,10 +180,6 @@ return {
|
||||
module = "blink.compat.source",
|
||||
score_offset = 100,
|
||||
},
|
||||
buganizer = {
|
||||
name = "nvim_buganizer",
|
||||
module = "blink.compat.source",
|
||||
},
|
||||
},
|
||||
},
|
||||
-- experimental signature help support
|
||||
|
Reference in New Issue
Block a user