Skip to content

Commit

Permalink
docs: add notes on initializing library (yetone#543)
Browse files Browse the repository at this point in the history
  • Loading branch information
aarnphm authored Sep 5, 2024
1 parent e18fd41 commit 33c9ac2
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 33c9ac2

Please sign in to comment.