mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-03 22:51:17 +00:00
build(bootstrap): added support for custom lazypath
This commit is contained in:
parent
0e106c085c
commit
cdfea60506
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,8 @@ function M.setup()
|
|||
end
|
||||
end
|
||||
|
||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
if not (vim.uv or vim.loop).fs_stat(lazypath) then
|
||||
local lazypath = vim.env.LAZY_PATH or vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
if not vim.env.LAZY_PATH and not (vim.uv or vim.loop).fs_stat(lazypath) then
|
||||
vim.api.nvim_echo({
|
||||
{
|
||||
"Cloning lazy.nvim\n\n",
|
||||
|
|
Loading…
Add table
Reference in a new issue