mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-06-28 19:34:15 +00:00
docs(chore): add vim.uv.fs_stat() because vim.loop.fs_stat() is deprecated in nvim-nightly
This commit is contained in:
parent
678179543e
commit
b2e6b06393
1 changed files with 1 additions and 1 deletions
|
@ -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.loop.fs_stat(lazypath) then
|
||||
if not vim.loop.fs_stat(lazypath) then -- use vim.uv.fs_stat() for nvim-nightly
|
||||
vim.fn.system({
|
||||
"git",
|
||||
"clone",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue