feat(neovim): enable blink-cmp-avante
in blink.cmp
This commit is contained in:
parent
d51feb9428
commit
6eefce2d6f
@ -1,5 +1,5 @@
|
|||||||
diff --git a/init.lua b/init.lua
|
diff --git a/init.lua b/init.lua
|
||||||
index b98ffc6..f0cf036 100644
|
index b98ffc6..8013e25 100644
|
||||||
--- a/init.lua
|
--- a/init.lua
|
||||||
+++ b/init.lua
|
+++ b/init.lua
|
||||||
@@ -91,7 +91,7 @@ vim.g.mapleader = ' '
|
@@ -91,7 +91,7 @@ vim.g.mapleader = ' '
|
||||||
@ -156,23 +156,28 @@ index b98ffc6..f0cf036 100644
|
|||||||
require('lspconfig')[server_name].setup(server)
|
require('lspconfig')[server_name].setup(server)
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
@@ -809,6 +893,8 @@ require('lazy').setup({
|
@@ -809,6 +893,9 @@ require('lazy').setup({
|
||||||
opts = {},
|
opts = {},
|
||||||
},
|
},
|
||||||
'folke/lazydev.nvim',
|
'folke/lazydev.nvim',
|
||||||
+ 'saghen/blink.compat',
|
+ 'saghen/blink.compat',
|
||||||
+ 'supermaven-inc/supermaven-nvim',
|
+ 'supermaven-inc/supermaven-nvim',
|
||||||
|
+ 'Kaiser-Yang/blink-cmp-avante',
|
||||||
},
|
},
|
||||||
--- @module 'blink.cmp'
|
--- @module 'blink.cmp'
|
||||||
--- @type blink.cmp.Config
|
--- @type blink.cmp.Config
|
||||||
@@ -854,9 +940,15 @@ require('lazy').setup({
|
@@ -854,9 +941,19 @@ require('lazy').setup({
|
||||||
},
|
},
|
||||||
|
|
||||||
sources = {
|
sources = {
|
||||||
- default = { 'lsp', 'path', 'snippets', 'lazydev' },
|
- default = { 'lsp', 'path', 'snippets', 'lazydev' },
|
||||||
+ default = { 'lsp', 'path', 'snippets', 'lazydev', 'supermaven' },
|
+ default = { 'avante', 'lsp', 'path', 'snippets', 'lazydev', 'supermaven' },
|
||||||
providers = {
|
providers = {
|
||||||
lazydev = { module = 'lazydev.integrations.blink', score_offset = 100 },
|
lazydev = { module = 'lazydev.integrations.blink', score_offset = 100 },
|
||||||
|
+ avante = {
|
||||||
|
+ name = 'avante',
|
||||||
|
+ module = 'blink-cmp-avante',
|
||||||
|
+ },
|
||||||
+ supermaven = {
|
+ supermaven = {
|
||||||
+ name = 'supermanve',
|
+ name = 'supermanve',
|
||||||
+ module = 'blink.compat.source',
|
+ 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`.
|
-- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
|
||||||
'folke/tokyonight.nvim',
|
'folke/tokyonight.nvim',
|
||||||
@ -228,7 +233,7 @@ index b98ffc6..f0cf036 100644
|
|||||||
end,
|
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
|
main = 'nvim-treesitter.configs', -- Sets main module to use for opts
|
||||||
-- [[ Configure Treesitter ]] See `:help nvim-treesitter`
|
-- [[ Configure Treesitter ]] See `:help nvim-treesitter`
|
||||||
opts = {
|
opts = {
|
||||||
@ -269,7 +274,7 @@ index b98ffc6..f0cf036 100644
|
|||||||
-- Autoinstall languages that are not installed
|
-- Autoinstall languages that are not installed
|
||||||
auto_install = true,
|
auto_install = true,
|
||||||
highlight = {
|
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).
|
-- Uncomment any of the lines below to enable them (you will need to restart nvim).
|
||||||
--
|
--
|
||||||
-- require 'kickstart.plugins.debug',
|
-- require 'kickstart.plugins.debug',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user