docs: cleanup installation dropdown (#369)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
		
							parent
							
								
									063a5ed24b
								
							
						
					
					
						commit
						ef174bbc2c
					
				
							
								
								
									
										28
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										28
									
								
								README.md
									
									
									
									
									
								
							@ -17,11 +17,14 @@ https://github.com/user-attachments/assets/86140bfd-08b4-483d-a887-1b701d9e37dd
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
## Installation
 | 
					## Installation
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Lazy
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
Install `avante.nvim` using [lazy.nvim](https://github.com/folke/lazy.nvim):
 | 
					<details>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```lua
 | 
					  <summary>Lazy</summary>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  Install `avante.nvim` using [lazy.nvim](https://github.com/folke/lazy.nvim):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  ```lua
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  "yetone/avante.nvim",
 | 
					  "yetone/avante.nvim",
 | 
				
			||||||
  event = "VeryLazy",
 | 
					  event = "VeryLazy",
 | 
				
			||||||
@ -67,9 +70,13 @@ Install `avante.nvim` using [lazy.nvim](https://github.com/folke/lazy.nvim):
 | 
				
			|||||||
    },
 | 
					    },
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
```
 | 
					  ```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### or with Plug
 | 
					</details>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<details>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  <summary>vim-plug</summary>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```vim
 | 
					```vim
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -86,7 +93,11 @@ Plug 'HakonHarnes/img-clip.nvim'
 | 
				
			|||||||
Plug 'yetone/avante.nvim'
 | 
					Plug 'yetone/avante.nvim'
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
and Lua:
 | 
					</details>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<details>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  <summary>Lua</summary>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```lua
 | 
					```lua
 | 
				
			||||||
-- deps:
 | 
					-- deps:
 | 
				
			||||||
@ -101,7 +112,8 @@ require('avante').setup ({
 | 
				
			|||||||
})
 | 
					})
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Install Notes
 | 
					</details>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
> [!IMPORTANT]
 | 
					> [!IMPORTANT]
 | 
				
			||||||
>
 | 
					>
 | 
				
			||||||
@ -142,7 +154,6 @@ _See [config.lua#L9](./lua/avante/config.lua) for the full config_
 | 
				
			|||||||
      ours = "co",
 | 
					      ours = "co",
 | 
				
			||||||
      theirs = "ct",
 | 
					      theirs = "ct",
 | 
				
			||||||
      all_theirs = "ca",
 | 
					      all_theirs = "ca",
 | 
				
			||||||
      none = "c0",
 | 
					 | 
				
			||||||
      both = "cb",
 | 
					      both = "cb",
 | 
				
			||||||
      cursor = "cc",
 | 
					      cursor = "cc",
 | 
				
			||||||
      next = "]x",
 | 
					      next = "]x",
 | 
				
			||||||
@ -175,7 +186,6 @@ _See [config.lua#L9](./lua/avante/config.lua) for the full config_
 | 
				
			|||||||
  },
 | 
					  },
 | 
				
			||||||
  --- @class AvanteConflictUserConfig
 | 
					  --- @class AvanteConflictUserConfig
 | 
				
			||||||
  diff = {
 | 
					  diff = {
 | 
				
			||||||
    debug = false,
 | 
					 | 
				
			||||||
    autojump = true,
 | 
					    autojump = true,
 | 
				
			||||||
    ---@type string | fun(): any
 | 
					    ---@type string | fun(): any
 | 
				
			||||||
    list_opener = "copen",
 | 
					    list_opener = "copen",
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user