avante.nvim-1.lua
· 1.3 KiB · Lua
Неформатований
{
"yetone/avante.nvim",
event = "VeryLazy",
lazy = false,
version = false, -- set this if you want to always pull the latest change
opts = {
-- add any opts here
},
-- if you want to build from source then do `make BUILD_FROM_SOURCE=true`
build = "make",
-- build = "powershell -ExecutionPolicy Bypass -File Build.ps1 -BuildFromSource false" -- for windows
dependencies = {
"nvim-treesitter/nvim-treesitter",
"stevearc/dressing.nvim",
"nvim-lua/plenary.nvim",
"MunifTanjim/nui.nvim",
--- The below dependencies are optional,
"nvim-tree/nvim-web-devicons", -- or echasnovski/mini.icons
"zbirenbaum/copilot.lua", -- for providers='copilot'
{
-- support for image pasting
"HakonHarnes/img-clip.nvim",
event = "VeryLazy",
opts = {
-- recommended settings
default = {
embed_image_as_base64 = false,
prompt_for_file_name = false,
drag_and_drop = {
insert_mode = true,
},
-- required for Windows users
use_absolute_path = true,
},
},
},
{
-- Make sure to set this up properly if you have lazy=true
'MeanderingProgrammer/render-markdown.nvim',
opts = {
file_types = { "markdown", "Avante" },
},
ft = { "markdown", "Avante" },
},
},
}
1 | { |
2 | "yetone/avante.nvim", |
3 | event = "VeryLazy", |
4 | lazy = false, |
5 | version = false, -- set this if you want to always pull the latest change |
6 | opts = { |
7 | -- add any opts here |
8 | }, |
9 | -- if you want to build from source then do `make BUILD_FROM_SOURCE=true` |
10 | build = "make", |
11 | -- build = "powershell -ExecutionPolicy Bypass -File Build.ps1 -BuildFromSource false" -- for windows |
12 | dependencies = { |
13 | "nvim-treesitter/nvim-treesitter", |
14 | "stevearc/dressing.nvim", |
15 | "nvim-lua/plenary.nvim", |
16 | "MunifTanjim/nui.nvim", |
17 | --- The below dependencies are optional, |
18 | "nvim-tree/nvim-web-devicons", -- or echasnovski/mini.icons |
19 | "zbirenbaum/copilot.lua", -- for providers='copilot' |
20 | { |
21 | -- support for image pasting |
22 | "HakonHarnes/img-clip.nvim", |
23 | event = "VeryLazy", |
24 | opts = { |
25 | -- recommended settings |
26 | default = { |
27 | embed_image_as_base64 = false, |
28 | prompt_for_file_name = false, |
29 | drag_and_drop = { |
30 | insert_mode = true, |
31 | }, |
32 | -- required for Windows users |
33 | use_absolute_path = true, |
34 | }, |
35 | }, |
36 | }, |
37 | { |
38 | -- Make sure to set this up properly if you have lazy=true |
39 | 'MeanderingProgrammer/render-markdown.nvim', |
40 | opts = { |
41 | file_types = { "markdown", "Avante" }, |
42 | }, |
43 | ft = { "markdown", "Avante" }, |
44 | }, |
45 | }, |
46 | } |