mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-08-29 14:28:51 +02:00
default to copilot and use optional in dependencies
This commit is contained in:
parent
67546eb094
commit
93946eea21
1 changed files with 21 additions and 9 deletions
|
@ -1,23 +1,33 @@
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"yetone/avante.nvim",
|
"yetone/avante.nvim",
|
||||||
|
build = vim.fn.has("win32") ~= 0 and "powershell -ExecutionPolicy Bypass -File Build.ps1 -BuildFromSource false"
|
||||||
|
or "make",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
version = false,
|
version = false,
|
||||||
opts = {
|
opts = {
|
||||||
provider = "claude",
|
provider = "copilot",
|
||||||
|
hints = {
|
||||||
|
enabled = false,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"nvim-treesitter/nvim-treesitter",
|
{ "nvim-lua/plenary.nvim", optional = true },
|
||||||
"nvim-lua/plenary.nvim",
|
{ "MunifTanjim/nui.nvim", optional = true },
|
||||||
"MunifTanjim/nui.nvim",
|
--- The below dependencies are optional,
|
||||||
"hrsh7th/nvim-cmp",
|
{ "echasnovski/mini.pick", optional = true }, -- for file_selector provider mini.pick
|
||||||
"stevearc/dressing.nvim",
|
{ "nvim-telescope/telescope.nvim", optional = true }, -- for file_selector provider telescope
|
||||||
"folke/snacks.nvim",
|
{ "hrsh7th/nvim-cmp", optional = true }, -- autocompletion for avante commands and mentions
|
||||||
"echasnovski/mini.icons",
|
{ "ibhagwan/fzf-lua", optional = true }, -- for file_selector provider fzf
|
||||||
"zbirenbaum/copilot.lua",
|
{ "stevearc/dressing.nvim", optional = true }, -- for input provider dressing
|
||||||
|
{ "folke/snacks.nvim", optional = true }, -- for input provider snacks
|
||||||
|
{ "nvim-tree/nvim-web-devicons", optional = true }, -- or echasnovski/mini.icons
|
||||||
|
{ "zbirenbaum/copilot.lua", optional = true }, -- for providers='copilot'
|
||||||
{
|
{
|
||||||
|
-- support for image pasting
|
||||||
"HakonHarnes/img-clip.nvim",
|
"HakonHarnes/img-clip.nvim",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
|
optional = true,
|
||||||
opts = {
|
opts = {
|
||||||
-- recommended settings
|
-- recommended settings
|
||||||
default = {
|
default = {
|
||||||
|
@ -32,7 +42,9 @@ return {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
-- Make sure to set this up properly if you have lazy=true
|
||||||
"MeanderingProgrammer/render-markdown.nvim",
|
"MeanderingProgrammer/render-markdown.nvim",
|
||||||
|
optional = true,
|
||||||
opts = {
|
opts = {
|
||||||
file_types = { "markdown", "Avante" },
|
file_types = { "markdown", "Avante" },
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue