docs: add notes on initializing library (#543)

This commit is contained in:
Aaron Pham 2024-09-05 02:50:59 -04:00 committed by GitHub
parent e18fd41180
commit 33c9ac216d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -95,11 +95,6 @@ Plug 'zbirenbaum/copilot.lua'
Plug 'yetone/avante.nvim', { 'branch': 'main', 'do': { -> avante#build() }, 'on': 'AvanteAsk' }
```
> [!important]
>
> For `avante.tokenizers` and templates to work, make sure to call `require('avante_lib').load()` somewhere when entering the editor.
> We will leave the users to decide where it fits to do this, as this varies among configurations. (But we do recommend running this after where you set your colorscheme)
</details>
<details>
@ -160,6 +155,12 @@ require('avante').setup ({
</details>
> [!IMPORTANT]
>
> For `avante.tokenizers` and templates to work, make sure to call `require('avante_lib').load()` somewhere when entering the editor.
> We will leave the users to decide where it fits to do this, as this varies among configurations. (But we do recommend running this after where you set your colorscheme)
> [!IMPORTANT]
>
> `avante.nvim` is currently only compatible with Neovim 0.10.1 or later. Please ensure that your Neovim version meets these requirements before proceeding.