Skip to content

Commit

Permalink
docs: add instruction for mini.deps (yetone#380)
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
  • Loading branch information
aarnphm authored Aug 30, 2024
1 parent b43377c commit d82ef34
Showing 1 changed file with 34 additions and 4 deletions.
38 changes: 34 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,9 @@ https://github.com/user-attachments/assets/86140bfd-08b4-483d-a887-1b701d9e37dd
## Installation


<details>

<summary>Lazy</summary>
<details open>

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
{
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit d82ef34

Please sign in to comment.