Skip to content

Commit 25e7d13

Browse files
YorizelUzaaftmehalter
authored
feat(avante-nvim): adding avante as a blink source (#1402)
* Adding avante source to blink * Update init.lua * Update lua/astrocommunity/completion/avante-nvim/init.lua Co-authored-by: Uzair Aftab <[email protected]> * Update init.lua * Update lua/astrocommunity/completion/avante-nvim/init.lua --------- Co-authored-by: Uzair Aftab <[email protected]> Co-authored-by: Micah Halter <[email protected]>
1 parent c73eda0 commit 25e7d13

File tree

1 file changed

+22
-0
lines changed
  • lua/astrocommunity/completion/avante-nvim

1 file changed

+22
-0
lines changed

lua/astrocommunity/completion/avante-nvim/init.lua

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,13 @@ return {
1010
"AvanteEdit",
1111
"AvanteRefresh",
1212
"AvanteSwitchProvider",
13+
"AvanteShowRepoMap",
14+
"AvanteModels",
1315
"AvanteChat",
1416
"AvanteToggle",
1517
"AvanteClear",
18+
"AvanteFocus",
19+
"AvanteStop",
1620
},
1721
dependencies = {
1822
"stevearc/dressing.nvim",
@@ -47,6 +51,24 @@ return {
4751
},
4852
specs = { -- configure optional plugins
4953
{ "AstroNvim/astroui", opts = { icons = { Avante = "" } } },
54+
{
55+
"Kaiser-Yang/blink-cmp-avante",
56+
lazy = true,
57+
specs = {
58+
{
59+
"Saghen/blink.cmp",
60+
optional = true,
61+
opts = {
62+
sources = {
63+
default = { "avante" },
64+
providers = {
65+
avante = { module = "blink-cmp-avante", name = "Avante" },
66+
},
67+
},
68+
},
69+
},
70+
},
71+
},
5072
{ -- if copilot.lua is available, default to copilot provider
5173
"zbirenbaum/copilot.lua",
5274
optional = true,

0 commit comments

Comments
 (0)