From ef174bbc2c6a3382b6d451e5700c2ae18fb7aee0 Mon Sep 17 00:00:00 2001 From: Aaron Pham Date: Thu, 29 Aug 2024 12:48:42 -0400 Subject: [PATCH] docs: cleanup installation dropdown (#369) Signed-off-by: Aaron Pham --- README.md | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index c29f343..ab5cee0 100644 --- a/README.md +++ b/README.md @@ -17,11 +17,14 @@ 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): +
-```lua + Lazy + + Install `avante.nvim` using [lazy.nvim](https://github.com/folke/lazy.nvim): + + ```lua { "yetone/avante.nvim", event = "VeryLazy", @@ -67,9 +70,13 @@ Install `avante.nvim` using [lazy.nvim](https://github.com/folke/lazy.nvim): }, }, } -``` + ``` -### or with Plug +
+ +
+ + vim-plug ```vim @@ -86,7 +93,11 @@ Plug 'HakonHarnes/img-clip.nvim' Plug 'yetone/avante.nvim' ``` -and Lua: +
+ +
+ + Lua ```lua -- deps: @@ -101,7 +112,8 @@ require('avante').setup ({ }) ``` -### Install Notes +
+ > [!IMPORTANT] > @@ -142,7 +154,6 @@ _See [config.lua#L9](./lua/avante/config.lua) for the full config_ ours = "co", theirs = "ct", all_theirs = "ca", - none = "c0", both = "cb", cursor = "cc", next = "]x", @@ -175,7 +186,6 @@ _See [config.lua#L9](./lua/avante/config.lua) for the full config_ }, --- @class AvanteConflictUserConfig diff = { - debug = false, autojump = true, ---@type string | fun(): any list_opener = "copen",