nvim: fix deprecation: vim.loop
-> vim.uv
This commit is contained in:
parent
85dbc295ec
commit
8ff672e509
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue