repace vim.loop with vim.uv

This commit is contained in:
siduck 2024-08-08 05:49:06 +05:30
parent 0c7d9cefa9
commit 935ea570af

View File

@ -4,7 +4,7 @@ vim.g.mapleader = " "
-- bootstrap lazy and all plugins
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"
vim.fn.system { "git", "clone", "--filter=blob:none", repo, "--branch=stable", lazypath }
end