knox ревизий этого фрагмента . К ревизии
1 file changed, 46 insertions
avante.nvim-1.lua(файл создан)
@@ -0,0 +1,46 @@ | |||
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 | + | } |
Новее
Позже