🚀 perf(nvim): use vim.uv instead of vim.loop
This commit is contained in:
parent
61f7e07e19
commit
cf71f2e44e
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ ac("BufWritePre", {
|
||||||
if args.match:match("^%w%w+://") then
|
if args.match:match("^%w%w+://") then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
local file = vim.loop.fs_realpath(args.match) or args.match
|
local file = vim.uv.fs_realpath(args.match) or args.match
|
||||||
vim.fn.mkdir(vim.fn.fnamemodify(file, ":p:h"), "p")
|
vim.fn.mkdir(vim.fn.fnamemodify(file, ":p:h"), "p")
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Reference in a new issue