1
0
Fork 0
mirror of https://github.com/folke/lazy.nvim.git synced 2025-04-02 22:26:34 +00:00

docs: make bootstrap work on stable and nightly. Fixes

This commit is contained in:
Folke Lemaitre 2024-03-27 09:23:15 +01:00
parent 65887ea871
commit a836600573
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
2 changed files with 2 additions and 2 deletions

View file

@ -38,7 +38,7 @@ You can add the following Lua code to your `init.lua` to bootstrap **lazy.nvim**
```lua
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.uv.fs_stat(lazypath) then
if not (vim.uv or vim.loop).fs_stat(lazypath) then
vim.fn.system({
"git",
"clone",

View file

@ -122,7 +122,7 @@ end
function M.bootstrap()
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.uv.fs_stat(lazypath) then
if not (vim.uv or vim.loop).fs_stat(lazypath) then
vim.fn.system({
"git",
"clone",