avante.nvim-3.lua
· 802 B · Lua
Неформатований
local add, later, now = MiniDeps.add, MiniDeps.later, MiniDeps.now
add({
source = 'yetone/avante.nvim',
monitor = 'main',
depends = {
'stevearc/dressing.nvim',
'nvim-lua/plenary.nvim',
'MunifTanjim/nui.nvim',
'echasnovski/mini.icons'
},
hooks = { post_checkout = function() vim.cmd('make') end }
})
--- optional
add({ source = 'zbirenbaum/copilot.lua' })
add({ source = 'HakonHarnes/img-clip.nvim' })
add({ source = 'MeanderingProgrammer/render-markdown.nvim' })
now(function() require('avante_lib').load() end)
later(function() require('render-markdown').setup({...}) end)
later(function()
require('img-clip').setup({...}) -- config img-clip
require("copilot").setup({...}) -- setup copilot to your liking
require("avante").setup({...}) -- config for avante.nvim
end)
1 | local add, later, now = MiniDeps.add, MiniDeps.later, MiniDeps.now |
2 | |
3 | add({ |
4 | source = 'yetone/avante.nvim', |
5 | monitor = 'main', |
6 | depends = { |
7 | 'stevearc/dressing.nvim', |
8 | 'nvim-lua/plenary.nvim', |
9 | 'MunifTanjim/nui.nvim', |
10 | 'echasnovski/mini.icons' |
11 | }, |
12 | hooks = { post_checkout = function() vim.cmd('make') end } |
13 | }) |
14 | --- optional |
15 | add({ source = 'zbirenbaum/copilot.lua' }) |
16 | add({ source = 'HakonHarnes/img-clip.nvim' }) |
17 | add({ source = 'MeanderingProgrammer/render-markdown.nvim' }) |
18 | |
19 | now(function() require('avante_lib').load() end) |
20 | later(function() require('render-markdown').setup({...}) end) |
21 | later(function() |
22 | require('img-clip').setup({...}) -- config img-clip |
23 | require("copilot").setup({...}) -- setup copilot to your liking |
24 | require("avante").setup({...}) -- config for avante.nvim |
25 | end) |