fix(docs): incorrect installation instructions (#2555)

This commit is contained in:
yetone
2025-07-31 14:26:39 +08:00
committed by GitHub
parent ca63356a99
commit 1830917ceb
2 changed files with 2 additions and 2 deletions

View File

@@ -75,7 +75,7 @@ For building binary if you wish to build from source, then `cargo` is required.
"yetone/avante.nvim",
-- if you want to build from source then do `make BUILD_FROM_SOURCE=true`
-- ⚠️ must add this setting! ! !
build = vim.fn.has("win32")
build = vim.fn.has("win32") ~= 0
and "powershell -ExecutionPolicy Bypass -File Build.ps1 -BuildFromSource false"
or "make",
event = "VeryLazy",

View File

@@ -60,7 +60,7 @@
"yetone/avante.nvim",
-- 如果您想从源代码构建,请执行 `make BUILD_FROM_SOURCE=true`
-- ⚠️ 一定要加上这一行配置!!!!!
build = vim.fn.has("win32")
build = vim.fn.has("win32") ~= 0
and "powershell -ExecutionPolicy Bypass -File Build.ps1 -BuildFromSource false"
or "make",
event = "VeryLazy",