chore(build): support build lua-tiktoken on Windows (#128)

Signed-off-by: Hanchin Hsieh <me@yuchanns.xyz>
This commit is contained in:
Hanchin Hsieh
2024-08-21 21:59:13 +08:00
committed by GitHub
parent 2e48d387a9
commit 83d067695e
3 changed files with 46 additions and 1 deletions

View File

@@ -51,6 +51,17 @@ Install `avante.nvim` using [lazy.nvim](https://github.com/folke/lazy.nvim):
}
```
For Windows users, change the build command to the following:
```lua
{
"yetone/avante.nvim",
event = "VeryLazy",
build = "powershell -ExecutionPolicy Bypass -File Build-LuaTiktoken.ps1",
-- rest of the config
}
```
> [!IMPORTANT]
>
> `avante.nvim` is currently only compatible with Neovim 0.10.0 or later. Please ensure that your Neovim version meets these requirements before proceeding.