repace vim.loop with vim.uv
This commit is contained in:
parent
0c7d9cefa9
commit
935ea570af
2
init.lua
2
init.lua
@ -4,7 +4,7 @@ vim.g.mapleader = " "
|
|||||||
-- bootstrap lazy and all plugins
|
-- bootstrap lazy and all plugins
|
||||||
local lazypath = vim.fn.stdpath "data" .. "/lazy/lazy.nvim"
|
local lazypath = vim.fn.stdpath "data" .. "/lazy/lazy.nvim"
|
||||||
|
|
||||||
if not vim.loop.fs_stat(lazypath) then
|
if not vim.uv.fs_stat(lazypath) then
|
||||||
local repo = "https://github.com/folke/lazy.nvim.git"
|
local repo = "https://github.com/folke/lazy.nvim.git"
|
||||||
vim.fn.system { "git", "clone", "--filter=blob:none", repo, "--branch=stable", lazypath }
|
vim.fn.system { "git", "clone", "--filter=blob:none", repo, "--branch=stable", lazypath }
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user