remove AI pluging from neovim

This commit is contained in:
Alexander Navarro 2025-03-11 10:32:50 -03:00
parent 2cbac54509
commit 3fffa9d78e
3 changed files with 4 additions and 166 deletions

View file

@ -4,7 +4,6 @@ return {
version = "*",
dependencies = {
"rafamadriz/friendly-snippets",
"giuxtaposition/blink-cmp-copilot",
"folke/lazydev.nvim",
{ "saghen/blink.compat", version = "*", },
},
@ -21,17 +20,6 @@ return {
providers = {
dadbod = { name = "Dadbod", module = "vim_dadbod_completion.blink" },
lazydev = { name = "LazyDev", module = "lazydev.integrations.blink" },
copilot = {
name = "copilot",
module = "blink-cmp-copilot",
score_offset = 5,
enabled = function()
if vim.g.copilot_autocomplete_enabled == nil then
return false
end
return vim.g.copilot_autocomplete_enabled
end,
},
luasnip = {
name = 'luasnip',
module = 'blink.compat.source',
@ -46,7 +34,6 @@ return {
compat = {},
completion = {
enabled_providers = {
"copilot",
"lsp",
"path",
"snippets",
@ -85,10 +72,6 @@ return {
components = {
kind_icon = {
text = function(ctx)
if ctx.item.source_name == "copilot" then
ctx.kind_icon = require("aleidk.constants").icons.kinds.Copilot
end
return ctx.kind_icon .. ctx.icon_gap
end,
}