/ nvim / .config / nvim / lua / plugins / ai.lua
ai.lua
 1  return {
 2  	{
 3  		"supermaven-inc/supermaven-nvim",
 4  		config = function()
 5  			require("supermaven-nvim").setup({})
 6  		end,
 7  	},
 8  	{
 9  		"yetone/avante.nvim",
10  		dependencies = {
11  			"nvim-lua/plenary.nvim",
12  			"MunifTanjim/nui.nvim",
13  			-- "echasnovski/mini.pick", -- for file_selector provider mini.pick
14  			-- "hrsh7th/nvim-cmp", -- autocompletion for avante commands and mentions
15  			"ibhagwan/fzf-lua",
16  			"folke/snacks.nvim",
17  			"echasnovski/mini.icons",
18  			{
19  				-- support for image pasting
20  				"HakonHarnes/img-clip.nvim",
21  				event = "VeryLazy",
22  				opts = {
23  					default = {
24  						embed_image_as_base64 = false,
25  						prompt_for_file_name = false,
26  						drag_and_drop = {
27  							insert_mode = true,
28  						},
29  						use_absolute_path = true,
30  					},
31  				},
32  			},
33  			{
34  				"MeanderingProgrammer/render-markdown.nvim",
35  				opts = {
36  					file_types = { "markdown", "Avante" },
37  				},
38  				ft = { "markdown", "Avante" },
39  			},
40  		},
41  		config = function()
42  			require("avante").setup({})
43  		end,
44  	},
45  }