update plugins for working with code companion
This commit is contained in:
@ -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' },
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user