nvim: fix deprecation: vim.loop -> vim.uv

This commit is contained in:
Fernando Schauenburg 2025-03-18 22:10:59 +01:00
parent 85dbc295ec
commit 8ff672e509

View file

@ -1,7 +1,7 @@
local M = {} local M = {}
local bootstrap = function(path) local bootstrap = function(path)
if not vim.loop.fs_stat(path) then if not vim.uv.fs_stat(path) then
vim.fn.system { vim.fn.system {
"git", "git",
"clone", "clone",
@ -21,7 +21,7 @@ local dev_path = function()
"~/.local/src", "~/.local/src",
} }
paths = vim.tbl_map(vim.fn.expand, paths) paths = vim.tbl_map(vim.fn.expand, paths)
paths = vim.tbl_filter(vim.loop.fs_stat, paths) paths = vim.tbl_filter(vim.uv.fs_stat, paths)
return paths[1] return paths[1]
end end