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 bootstrap = function(path)
|
||||
if not vim.loop.fs_stat(path) then
|
||||
if not vim.uv.fs_stat(path) then
|
||||
vim.fn.system {
|
||||
"git",
|
||||
"clone",
|
||||
|
@ -21,7 +21,7 @@ local dev_path = function()
|
|||
"~/.local/src",
|
||||
}
|
||||
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]
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue