From 627099cb6f47fc4100a057dd2af3eeb8bf8571d6 Mon Sep 17 00:00:00 2001 From: Joao P Dubas Date: Wed, 28 May 2025 17:42:38 +0000 Subject: [PATCH] feat(neovim): enable `blink-cmp-avante` in `blink.cmp` --- patch/kickstart.nvim/updates.patch | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/patch/kickstart.nvim/updates.patch b/patch/kickstart.nvim/updates.patch index bb7ae7c..8d974f5 100644 --- a/patch/kickstart.nvim/updates.patch +++ b/patch/kickstart.nvim/updates.patch @@ -1,5 +1,5 @@ diff --git a/init.lua b/init.lua -index b98ffc6..f0cf036 100644 +index b98ffc6..8013e25 100644 --- a/init.lua +++ b/init.lua @@ -91,7 +91,7 @@ vim.g.mapleader = ' ' @@ -156,23 +156,28 @@ index b98ffc6..f0cf036 100644 require('lspconfig')[server_name].setup(server) end, }, -@@ -809,6 +893,8 @@ require('lazy').setup({ +@@ -809,6 +893,9 @@ require('lazy').setup({ opts = {}, }, 'folke/lazydev.nvim', + 'saghen/blink.compat', + 'supermaven-inc/supermaven-nvim', ++ 'Kaiser-Yang/blink-cmp-avante', }, --- @module 'blink.cmp' --- @type blink.cmp.Config -@@ -854,9 +940,15 @@ require('lazy').setup({ +@@ -854,9 +941,19 @@ require('lazy').setup({ }, sources = { - default = { 'lsp', 'path', 'snippets', 'lazydev' }, -+ default = { 'lsp', 'path', 'snippets', 'lazydev', 'supermaven' }, ++ default = { 'avante', 'lsp', 'path', 'snippets', 'lazydev', 'supermaven' }, providers = { lazydev = { module = 'lazydev.integrations.blink', score_offset = 100 }, ++ avante = { ++ name = 'avante', ++ module = 'blink-cmp-avante', ++ }, + supermaven = { + name = 'supermanve', + module = 'blink.compat.source', @@ -182,7 +187,7 @@ index b98ffc6..f0cf036 100644 }, }, -@@ -882,19 +974,39 @@ require('lazy').setup({ +@@ -882,19 +979,39 @@ require('lazy').setup({ -- -- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`. 'folke/tokyonight.nvim', @@ -228,7 +233,7 @@ index b98ffc6..f0cf036 100644 end, }, -@@ -944,7 +1056,39 @@ require('lazy').setup({ +@@ -944,7 +1061,39 @@ require('lazy').setup({ main = 'nvim-treesitter.configs', -- Sets main module to use for opts -- [[ Configure Treesitter ]] See `:help nvim-treesitter` opts = { @@ -269,7 +274,7 @@ index b98ffc6..f0cf036 100644 -- Autoinstall languages that are not installed auto_install = true, highlight = { -@@ -974,17 +1118,17 @@ require('lazy').setup({ +@@ -974,17 +1123,17 @@ require('lazy').setup({ -- Uncomment any of the lines below to enable them (you will need to restart nvim). -- -- require 'kickstart.plugins.debug',