From d82ef342c427cc156cd0820a45a2affd174382b2 Mon Sep 17 00:00:00 2001 From: Aaron Pham Date: Thu, 29 Aug 2024 20:00:18 -0400 Subject: [PATCH] docs: add instruction for mini.deps (#380) Signed-off-by: Aaron Pham --- README.md | 38 ++++++++++++++++++++++++++++++++++---- 1 file changed, 34 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c6201b0..8132009 100644 --- a/README.md +++ b/README.md @@ -18,11 +18,9 @@ https://github.com/user-attachments/assets/86140bfd-08b4-483d-a887-1b701d9e37dd ## Installation -
+
- Lazy - - Install `avante.nvim` using [lazy.nvim](https://github.com/folke/lazy.nvim): + lazy.nvim (recommended) ```lua { @@ -95,6 +93,38 @@ Plug 'yetone/avante.nvim'
+
+ + mini.deps + +```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) + +``` + ``` + ``` + +
+
Lua