update plugins for working with code companion

This commit is contained in:
2025-06-25 16:08:13 +01:00
parent 76f1f2fcc1
commit 3b27256eb4
3 changed files with 24 additions and 27 deletions

View File

@ -1,17 +1,10 @@
return {
{
'saghen/blink.cmp',
version = 'v0.13.1',
event = 'LspAttach',
version = '1.*',
lazy = false,
dependencies = {
'Kaiser-Yang/blink-cmp-avante',
'hrsh7th/nvim-cmp',
'L3MON4D3/LuaSnip',
'saadparwaiz1/cmp_luasnip',
'hrsh7th/cmp-nvim-lsp',
'hrsh7th/cmp-nvim-lua',
'hrsh7th/cmp-path',
'hrsh7th/cmp-buffer',
},
opts = {
keymap = {
@ -31,22 +24,14 @@ return {
},
appearance = {
use_nvim_cmp_as_default = true,
nerd_font_variant = 'mono',
},
sources = {
default = { 'avante', 'lsp', 'path', 'snippets', 'buffer' },
default = { 'lsp', 'path', 'snippets', 'buffer' },
per_filetype = {
codecompanion = { 'codecompanion' },
},
providers = {
avante = {
module = 'blink-cmp-avante',
name = 'Avante',
opts = {},
},
},
},
snippets = { preset = 'luasnip' },
},