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 {
|
||||
{
|
||||
"yetone/avante.nvim",
|
||||
build = vim.fn.has("win32") ~= 0 and "powershell -ExecutionPolicy Bypass -File Build.ps1 -BuildFromSource false"
|
||||
or "make",
|
||||
event = "VeryLazy",
|
||||
version = false,
|
||||
opts = {
|
||||
provider = "claude",
|
||||
provider = "copilot",
|
||||
hints = {
|
||||
enabled = false,
|
||||
},
|
||||
},
|
||||
dependencies = {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
"nvim-lua/plenary.nvim",
|
||||
"MunifTanjim/nui.nvim",
|
||||
"hrsh7th/nvim-cmp",
|
||||
"stevearc/dressing.nvim",
|
||||
"folke/snacks.nvim",
|
||||
"echasnovski/mini.icons",
|
||||
"zbirenbaum/copilot.lua",
|
||||
{ "nvim-lua/plenary.nvim", optional = true },
|
||||
{ "MunifTanjim/nui.nvim", optional = true },
|
||||
--- The below dependencies are optional,
|
||||
{ "echasnovski/mini.pick", optional = true }, -- for file_selector provider mini.pick
|
||||
{ "nvim-telescope/telescope.nvim", optional = true }, -- for file_selector provider telescope
|
||||
{ "hrsh7th/nvim-cmp", optional = true }, -- autocompletion for avante commands and mentions
|
||||
{ "ibhagwan/fzf-lua", optional = true }, -- for file_selector provider fzf
|
||||
{ "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",
|
||||
event = "VeryLazy",
|
||||
optional = true,
|
||||
opts = {
|
||||
-- recommended settings
|
||||
default = {
|
||||
|
@ -32,7 +42,9 @@ return {
|
|||
},
|
||||
},
|
||||
{
|
||||
-- Make sure to set this up properly if you have lazy=true
|
||||
"MeanderingProgrammer/render-markdown.nvim",
|
||||
optional = true,
|
||||
opts = {
|
||||
file_types = { "markdown", "Avante" },
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue