docs: add instruction for mini.deps (#380)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
parent
b43377c044
commit
d82ef342c4
38
README.md
38
README.md
@ -18,11 +18,9 @@ https://github.com/user-attachments/assets/86140bfd-08b4-483d-a887-1b701d9e37dd
|
||||
## Installation
|
||||
|
||||
|
||||
<details>
|
||||
<details open>
|
||||
|
||||
<summary>Lazy</summary>
|
||||
|
||||
Install `avante.nvim` using [lazy.nvim](https://github.com/folke/lazy.nvim):
|
||||
<summary><a href="https://github.com/folke/lazy.nvim">lazy.nvim</a> (recommended)</summary>
|
||||
|
||||
```lua
|
||||
{
|
||||
@ -95,6 +93,38 @@ Plug 'yetone/avante.nvim'
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
|
||||
<summary><a href="https://github.com/echasnovski/mini.deps">mini.deps</a></summary>
|
||||
|
||||
```lua
|
||||
local add, later = MiniDeps.add, MiniDeps.later
|
||||
|
||||
add({
|
||||
source = 'yetone/avante.nvim',
|
||||
depends = {
|
||||
'stevearc/dressing.nvim',
|
||||
'nvim-lua/plenary.nvim',
|
||||
'MunifTanjim/nui.nvim',
|
||||
'echasnovski/mini.icons'
|
||||
},
|
||||
})
|
||||
--- optional
|
||||
add({ source = 'HakonHarnes/img-clip.nvim' })
|
||||
add({ source = 'MeanderingProgrammer/render-markdown.nvim' })
|
||||
|
||||
later(function() require('render-markdown').setup({...}) end)
|
||||
later(function()
|
||||
require('img-clip').setup({...}) -- config img-clip
|
||||
require("avante").setup({...}) -- config for avante.nvim
|
||||
end)
|
||||
|
||||
```
|
||||
```
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
|
||||
<summary>Lua</summary>
|
||||
|
Loading…
x
Reference in New Issue
Block a user