From 1830917cebe4c9d1d3029a03d029fe9ce8680e42 Mon Sep 17 00:00:00 2001 From: yetone Date: Thu, 31 Jul 2025 14:26:39 +0800 Subject: [PATCH] fix(docs): incorrect installation instructions (#2555) --- README.md | 2 +- README_zh.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 68e6790..aa34455 100644 --- a/README.md +++ b/README.md @@ -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", diff --git a/README_zh.md b/README_zh.md index 6d88947..e39dccc 100644 --- a/README_zh.md +++ b/README_zh.md @@ -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",