fix(docs): incorrect installation instructions (#2555)
This commit is contained in:
@@ -75,7 +75,7 @@ For building binary if you wish to build from source, then `cargo` is required.
|
|||||||
"yetone/avante.nvim",
|
"yetone/avante.nvim",
|
||||||
-- if you want to build from source then do `make BUILD_FROM_SOURCE=true`
|
-- if you want to build from source then do `make BUILD_FROM_SOURCE=true`
|
||||||
-- ⚠️ must add this setting! ! !
|
-- ⚠️ must add this setting! ! !
|
||||||
build = vim.fn.has("win32")
|
build = vim.fn.has("win32") ~= 0
|
||||||
and "powershell -ExecutionPolicy Bypass -File Build.ps1 -BuildFromSource false"
|
and "powershell -ExecutionPolicy Bypass -File Build.ps1 -BuildFromSource false"
|
||||||
or "make",
|
or "make",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
|
|||||||
@@ -60,7 +60,7 @@
|
|||||||
"yetone/avante.nvim",
|
"yetone/avante.nvim",
|
||||||
-- 如果您想从源代码构建,请执行 `make BUILD_FROM_SOURCE=true`
|
-- 如果您想从源代码构建,请执行 `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"
|
and "powershell -ExecutionPolicy Bypass -File Build.ps1 -BuildFromSource false"
|
||||||
or "make",
|
or "make",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
|
|||||||
Reference in New Issue
Block a user